public boolean containsAttrValue(String attrName,String attrValue){
  if (attrSet != null) {
    Set attr=(Set)attrSet.get(attrName);
    if (attr != null) {
      return (attr.contains(attrValue));
    }
  }
  return (false);
}

public boolean containsAttrValue ( String attrName , String attrValue ) { if ( attrSet != null ) { Set attr = ( Set ) attrSet . get ( attrName ) ; if ( attr != null ) { return ( attr . contains ( attrValue ) ) ; } } return ( false ) ; }
checks if the attribute value exists in the attribute
