public boolean skipNoIgnore(Token.Kind kind) {
        Token current = currentNoIgnore();

        if (current == null || current.kind != kind) return false;

        skipNoIgnore();
        return true;
    }
Skips one or zero items of the given kind, without ignoring spaces

@return true if one item was skipped, false if none was or if there are no more tokens
container-search/src/main/java/com/yahoo/prelude/query/parser/TokenPosition.java