question: public boolean hasCategory ( String category ) { if ( category == null ) { return false ; } return categories . contains ( StringUtil . toLowerCase ( category ) ) ; }
target:  Checks if this entry contains the given category.