public boolean hasNext() {
        return tokenList.size() > (position + 1);
    }
Returns whether more tokens are available
container-search/src/main/java/com/yahoo/prelude/query/parser/TokenPosition.java