class_docstr: Python wrapper for launch iOS RPC to simulator.
  
  mode : str
      Server mode. See RPCServerMode.
  
  host : str
      The tracker/proxy address.
  
  port : int
      The tracker/proxy port.
  
  key : str
      The key used to identify the device type in tracker.
class_docstr_tok: ["Python","wrapper","for","launch","iOS","RPC","to","simulator",".","mode",":","str","Server","mode",".","See","RPCServerMode",".","host",":","str","The","tracker\/proxy","address",".","port",":","int","The","tracker\/proxy","port",".","key",":","str","The","key","used","to","identify","the","device","type","in","tracker","."]
docstr: Check that the current environment has the required variables.
docstr_tok: ["Check","that","the","current","environment","has","the","required","variables","."]
code: def is_compatible_environment():
      """Check that the current environment has the required variables."""
  
      return bool(os.environ.get("BUNDLE_ID")) and bool(
          os.environ.get("BUNDLE_PATH")
      )
  
imports: import os
  import json
  import time
  import threading
  import subprocess
  from enum import Enum
  from typing import Dict, List, AnyStr
label_desc: Use image node_id 4 for calling the ServerIOSLauncher obj's underlying member method code with example usage: obj.is_compatible_environment() and returns: unknown