code: def _unpickle_method(func_name, obj, cls):
      for cls in cls.mro():
          try:
              func = cls.__dict__[func_name]
          except KeyError:
              pass
          else:
              break
          return func.__get__(obj, cls)
  
label_desc: Use image node_id 2 for calling a global function with example usage: _unpickle_method(func_name, obj, cls) and returns: func