code: def get_build_config():
      if os.environ.get("GITHUB_ACTION"):
          return {"config": {"env": "Windows CI"}}
  
      if os.environ.get("BUILDKITE"):
          return {
              "config": {
                  "env": "Buildkite " + os.environ["BUILDKITE_LABEL"]
              }
          }
  
      import requests
  
      url = "https://api.travis-ci.com/job/{job_id}?include=job.config"
      url = url.format(job_id=os.environ["TRAVIS_JOB_ID"])
      resp = requests.get(url, headers={"Travis-API-Version": "3"})
      return resp.json()
  
imports: import os
  import sys
  import json
label_desc: Use image node_id 3 for calling a global function with example usage: get_build_config() and returns: resp, dict, dict