@Override
        public String toString() {
            return "instanceOf(" + toCheck.getSimpleName() + ")";
        }
A concrete lambda implementation that checks if the type passing through on the {@link Traverser} is
of a specific {@link Element} type.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/PartitionStrategy.java