public boolean is(IElementType... tokenTypes) {
        if (current() == null) return false;
        for (IElementType type : tokenTypes)
            if (current().getElementType() == type) return true;
        return false;
    }
Returns whether the current token is of the given type
integration/intellij/src/main/java/ai/vespa/intellij/schema/utils/Tokens.java