public FlattenedItem currentItem() {
        if ( (currentIndex >= flattenedItems.size()) || (currentIndex < 0)) return null;
        return flattenedItems.get(currentIndex);
    }
Returns the current item, or null if there is no more elements
container-search/src/main/java/com/yahoo/prelude/semantics/engine/Evaluation.java