question: public boolean hasAttribute ( String attName ) { if ( attName == null ) return false ; for ( String key : attributes . keySet ( ) ) { if ( key . equalsIgnoreCase ( attName ) ) return true ; } return false ; }
target:  Checks existence of specified attribute.