code: def get_unbound_function(unbound):
      # Op.make_thunk isn't bound, so don't have a __func__ attr.
      # But bound method, have a __func__ method that point to the
      # not bound method. That is what we want.
      if hasattr(unbound, "__func__"):
          return unbound.__func__
      return unbound
  
imports: import hashlib
  import logging
  import os
  import struct
  import subprocess
  import sys
  from collections import OrderedDict
  from collections.abc import Callable
  from functools import partial
label_desc: Use image node_id 4 for calling a global function with example usage: get_unbound_function(unbound) and returns: unbound, unbound