code: def env_integer(key, default):
      if key in os.environ:
          val = os.environ[key]
          if val == "inf":
              return sys.maxsize
          else:
              return int(val)
      return default
  
label_desc: Use image node_id 1 for calling a global function with example usage: env_integer(key, default) and returns: default, sys, int