code: public boolean isSymbol(String... symbols) {
          if (symbols.length == 0) {
              return is(TokenType.SYMBOL);
          }
          for (String symbol : symbols) {
              if (matches(TokenType.SYMBOL, symbol)) {
                  return true;
              }
          }
          return false;
      }
docs: Determines if this token is a symbol.
  <p>
  If a list of <tt>symbols</tt> is given, this method checks that the trigger matches one of them.
  
  @param symbols the symbols to check for. If the list es empty, only the token type is checked.
  @return <tt>true</tt> if this token is a symbol and matches one of the given <tt>symbols</tt> if the list
  is not empty.