code: def looks_like_issubclass(obj, classname):
      """Return True if the object has a class or superclass with the given class
      name.
  
      Ignores old-style classes.
      """
      t = obj
      if t.__name__ == classname:
          return True
      for klass in t.__mro__:
          if klass.__name__ == classname:
              return True
      return False
  
file_path: medpy/doc/numpydoc/numpydoc/traitsdoc.py
imports: import inspect
  import os
  import pydoc
  import collections
  from .None import docscrape
  from .None import docscrape_sphinx
  from .docscrape_sphinx import SphinxClassDoc, SphinxFunctionDoc, SphinxDocString
  from .None import numpydoc
  from .None import comment_eater
label_desc: Use image node_id 1 for calling a global function with example usage: looks_like_issubclass(obj, classname) and returns: False, True, True