code: def client(config):
      env_name = config["aws"]["env"]
      if env_name:
          return cx.client(env_name)
  
      config_path = config["aws"]["config"]
      if config_path is not None:
          return client_from_config(config_path)
  
      pytest.skip("--env or --config must be passed to run tests")
  
imports: import cortex
  import pytest
  import e2e
  from e2e.utils import client_from_config
label_desc: Use image node_id 1 for calling a global function with example usage: client(config) and returns: cx, client_from_config