public default boolean equals(final Traversal.Admin<S, E> other) {
            if (this.getClass().equals(other.getClass())) {
                final List<Step> steps = this.getSteps();
                final List<Step> otherSteps = other.getSteps();
                if (steps.size() == otherSteps.size()) {
                    for (int i = 0; i < steps.size(); i++) {
                        if (!steps.get(i).equals(otherSteps.get(i))) {
                            return false;
                        }
                    }
                    return true;
                }
            }
            return false;
        }
Gets the {@link TraversalSource} that spawned the {@link Traversal} instance initially if present. This
{@link TraversalSource} should have spawned from the associated {@link Graph} returned from
{@link #getGraph()}.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/Traversal.java