code: def check_rest_server_quick(rest_port):
      """Check if restful server is ready, only check once"""
      response = rest_get(check_status_url(rest_port), 5)
      if response and response.status_code == 200:
          return True, response
      return False, None
  
file_path: nni/nni/tools/nnictl/rest_utils.py
imports: import time
  import requests
  from .url_utils import check_status_url
  from .constants import REST_TIME_OUT
  from .common_utils import print_error
label_desc: Use image node_id 6 for calling a global function with example usage: check_rest_server_quick(rest_port) and returns: False,  None, True,  response