public static boolean isFeatureTagPresent(SipMessage msg,String featureTag){
  for (  String tag : msg.getFeatureTags()) {
    if (tag.contains(featureTag)) {
      return true;
    }
  }
  return false;
}

public static boolean isFeatureTagPresent ( SipMessage msg , String featureTag ) { for ( String tag : msg . getFeatureTags ( ) ) { if ( tag . contains ( featureTag ) ) { return true ; } } return false ; }
is a feature tag present or not in sip message
