@Override
    public boolean hasNext() {
        if (next != null) return true;
        if (finished) return false;

        return tryComputeNext();
    }
Represents if the iterator has been fully consumed
tinkergraph-gremlin/src/main/java/org/apache/tinkerpop/gremlin/tinkergraph/structure/TinkerGraphIterator.java