code: def looks_like_issubclass(obj, classname):
      
      t = obj
      if t.__name__ == classname:
          return True
      for klass in t.__mro__:
          if klass.__name__ == classname:
              return True
      return False
docs: Return True if the object has a class or superclass with the given class
      name.
  
      Ignores old-style classes.