@Override
    public TraversalParent getParent() {
        return this.parent;
    }
Determines if the traversal has been fully iterated and resources released.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/util/DefaultTraversal.java