code: def is_local(ip_addr):
      """If ip_addr is a local ip"""
      if ip_addr in local_ip4_addr_list():
          return True
      else:
          return False
  
file_path: ogb/examples/lsc/wikikg90m/dgl-ke-ogb-lsc/python/dglke/dist_train.py
imports: import os
  import stat
  import sys
  import subprocess
  import argparse
  import socket
  from .utils import CommonArgParser
label_desc: Use image node_id 3 for calling a global function with example usage: is_local(ip_addr) and returns: True, False