code: def setup_experiment(installed=True):
      """setup the experiment if nni is not installed"""
      if not installed:
          os.environ["PATH"] = os.environ["PATH"] + ":" + os.getcwd()
          sdk_path = os.path.abspath("../src/sdk/pynni")
          cmd_path = os.path.abspath("../tools")
          pypath = os.environ.get("PYTHONPATH")
          if pypath:
              pypath = ":".join([pypath, sdk_path, cmd_path])
          else:
              pypath = ":".join([sdk_path, cmd_path])
          os.environ["PYTHONPATH"] = pypath
  
imports: import contextlib
  import collections
  import os
  import socket
  import sys
  import subprocess
  import requests
  import time
  import yaml
  import shlex
  import warnings
label_desc: Use image node_id 5 for calling a global function with example usage: setup_experiment(installed) without return types