code: def is_launch_gateway_disabled():
      if "PYFLINK_GATEWAY_DISABLED" in os.environ and os.environ[
          "PYFLINK_GATEWAY_DISABLED"
      ].lower() not in ["0", "false", ""]:
          return True
      else:
          return False
  
imports: import importlib
  import os
  import shlex
  import shutil
  import struct
  import tempfile
  import time
  from logging import WARN
  from threading import RLock
  from py4j.java_gateway import java_import, logger, JavaGateway, GatewayParameters, CallbackServerParameters
  from pyflink.find_flink_home import _find_flink_home
  from pyflink.pyflink_gateway_server import launch_gateway_server_process
  from pyflink.util.exceptions import install_exception_handler, install_py4j_hooks
label_desc: Use image node_id 1 for calling a global function with example usage: is_launch_gateway_disabled() and returns: True, False