public static boolean hasStepOfAssignableClassRecursively(final Class stepClass, final Traversal.Admin<?, ?> traversal) {
        return hasStepOfAssignableClassRecursively(null, stepClass, traversal);
    }
Determine if the traversal has a step of an assignable class in the current {@link Traversal} and its
local and global child traversals.

@param stepClass the step class to look for
@param traversal the traversal in which to look for the given step class
@return <code>true</code> if any step in the given traversal (and its child traversals) is an instance of the
given <code>stepClass</code>, otherwise <code>false</code>.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/util/TraversalHelper.java