code: def mock_check_status():
      responses.add(
          responses.GET,
          "http://localhost:8080/api/v1/nni/check-status",
          json={"status": "RUNNING", "errors": []},
          status=200,
      )
  
file_path: nni/test/ut/tools/nnictl/mock/restful_server.py
imports: import responses
label_desc: Use image node_id 1 for calling a global function with example usage: mock_check_status() without return types