public boolean isCapabilitiesValid(Capabilities capabilities){
  long msgCapValidityPeriod=mRcsSettings.getMsgCapValidityPeriod();
  return System.currentTimeMillis() <= capabilities.getTimestampOfLastResponse() + msgCapValidityPeriod;
}

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