public static boolean isConditionSupported ( XMPPConnection connection , String conditionName ) throws NoResponseException , XMPPErrorException , NotConnectedException , InterruptedException { String featureName = AMPExtension . NAMESPACE + "?condition=" + conditionName ; return isFeatureSupportedByServer ( connection , featureName ) ; }
Check if server supports specified condition .