public boolean isEnabled(LintCategory lc){
  return values.contains(lc);
}

public boolean isEnabled ( LintCategory lc ) { return values . contains ( lc ) ; }
checks if a warning category is enabled . a warning category may be enabled on the command line , or by default , and can be temporarily disabled with the suppresswarnings annotation .
