public final boolean hasCategory(String category){
  return mCategories != null && mCategories.contains(category);
}

public final boolean hasCategory ( String category ) { return mCategories != null && mCategories . contains ( category ) ; }
is the given category included in the filter ?
