code: def is_static_method(method, klass):
      """Returns True if method is an instance method of klass."""
      for c in klass.mro():
          if name(method) in c.__dict__:
              return isinstance(c.__dict__[name(method)], staticmethod)
      else:
          return False
  
file_path: wandb/wandb/vendor/watchdog_0_9_0/wandb_watchdog/utils/echo.py
imports: import inspect
  import sys
label_desc: Use image node_id 3 for calling a global function with example usage: is_static_method(method, klass) and returns: False, isinstance