code: public static boolean isDDL(final TokenType primaryTokenType, final TokenType secondaryTokenType) {
          return PRIMARY_STATEMENT_PREFIX.contains(primaryTokenType) && !NOT_SECONDARY_STATEMENT_PREFIX.contains(secondaryTokenType);
      }
docs: Is DDL statement.
  
  @param primaryTokenType primary token type
  @param secondaryTokenType secondary token type
  @return is DDL or not