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

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