question: public boolean isCapabilitiesValid ( Capabilities capabilities ) { long msgCapValidityPeriod = mRcsSettings . getMsgCapValidityPeriod ( ) ; return System . currentTimeMillis ( ) <= capabilities . getTimestampOfLastResponse ( ) + msgCapValidityPeriod ; }
target:  Check if the capabilities are valid based on msgCapValidity paramter