public static boolean isTermsRequest(SipRequest request){
  String contentType=request.getContentType();
  return (contentType != null && contentType.startsWith("application/end-user"));
}

public static boolean isTermsRequest ( SipRequest request ) { String contentType = request . getContentType ( ) ; return ( contentType != null && contentType . startsWith ( "application/end-user" ) ) ; }
is a terms & conditions request
