code: def superclass_in_base_classes(base_classes, the_class):
      """
      recursively determine if the_class is among or is a superclass of
       one of the classes in base_classes. The comparison is done by
       name so that even if reload is called on a module, this still
       works.
      """
      for base_class in base_classes:
          if base_class.__name__ == the_class.__name__:
              return True
          else:
              # if the base class in turn has base classes of its own
              if (
                  len(base_class.__bases__) != 1
                  or base_class.__bases__[0].__name__ != "object"
              ):
                  # check them. If there's a hit, return True
                  if superclass_in_base_classes(
                      base_classes=base_class.__bases__,
                      the_class=the_class,
                  ):
                      return True
      # if 'True' was not returned in the code above, that means we don't
      # have a superclass
      return False
  
imports: from __future__ import division
  from __future__ import print_function
  from __future__ import absolute_import
  import sys
  import os
  import os.path
  import numpy
  from collections import namedtuple
  from collections import OrderedDict
  import json
  import deeplift
  import tensorflow
label_desc: Use image node_id 8 for calling a global function with example usage: superclass_in_base_classes(base_classes, the_class) and returns: False, True, True