code: def _pickle_method(method):
      try:
          func_name = method.__func__.__name__
          obj = method.__self__
          cls = method.__self__.__class__
      except AttributeError:
          func_name = method.im_func.__name__
          obj = method.im_self
          cls = method.im_class
  
      return _unpickle_method, (func_name, obj, cls)
  
label_desc: Use image node_id 1 for calling a global function with example usage: _pickle_method(method) and returns: _unpickle_method,  func_name,  obj,  cls