public boolean returnsEdge() {
        return this.returnClass.equals(Edge.class);
    }
Determines if the step returns edges.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/VertexStep.java