public static boolean isAttribute(Object objValue){
  if (objValue instanceof String) {
    String stringValue=(String)objValue;
    if (stringValue.startsWith(ATTRIBUTE_START) && stringValue.endsWith(ATTRIBUTE_END)) {
      return true;
    }
  }
  return false;
}

public static boolean isAttribute ( Object objValue ) { if ( objValue instanceof String ) { String stringValue = ( String ) objValue ; if ( stringValue . startsWith ( ATTRIBUTE_START ) && stringValue . endsWith ( ATTRIBUTE_END ) ) { return true ; } } return false ; }
checks if string is actually an attribute .
