checkBlacklist function

bool checkBlacklist(
  1. List tokens
)

Implementation

bool checkBlacklist(List tokens) {
  return tokens.length == 1 &&
      BLACKLIST_SINGULAR_WORDS.contains(tokens[0]['lowerCaseValue']);
}