code: public final boolean isMatched(AnalyzedToken token) {
      boolean matched = patternToken.isMatched(token);
      if (patternToken.hasAndGroup()) {
        andGroupCheck[0] |= matched;
      }
      return matched;
    }
docs: Checks whether the rule element matches the token given as a parameter.
  
  @param token AnalyzedToken to check matching against
  @return True if token matches, false otherwise.