code: def _get_local_host_addresses():
      local_addresses = []
      for intf_info_list in psutil.net_if_addrs().values():
          for intf_info in intf_info_list:
              if intf_info.family == socket.AF_INET:
                  local_addresses.append(intf_info.address)
      return local_addresses
  
imports: import socket
  import psutil
  from bluefog.run.horovodrun.util import threads
label_desc: Use image node_id 1 for calling a global function with example usage: _get_local_host_addresses() and returns: local_addresses