public boolean isNullOrEmpty ( String attributeName ) { String attr = attributes . get ( attributeName ) ; if ( attr == null || attr . isEmpty ( ) ) { return true ; } return false ; }
Check if the given attribute is present an is not empty .