code: def get_experiment_status(status_url=NNI_STATUS_URL):
      """Helper method. Gets the experiment status from the REST endpoint.
  
      Args:
          status_url (str): URL for the REST endpoint
  
      Returns:
          dict: status of the experiment
      """
      return requests.get(status_url).json()
  
file_path: recommenders/recommenders/tuning/nni/nni_utils.py
imports: import ast
  import json
  import os
  import requests
  import subprocess
  import sys
  import time
label_desc: Use image node_id 1 for calling a global function with example usage: get_experiment_status(status_url) and returns: requests