code: def _verify_config(config):
      """
      verify the experiment configuration is fulfilled for experiment
  
      :param config: experiment configuration
      :return: config if verified
      """
      check_missing_key(
          config,
          "script",
          "Missing required value for 'script'.",
          log=logger,
      )
      check_missing_key(
          config,
          "resource",
          "Missing required value for 'resource'",
          log=logger,
      )
      check_missing_key(
          config,
          "name",
          "Missing required value for 'name'",
          log=logger,
      )
      return config
  
imports: import json
  import logging
  import os
  import signal
  import sys
  import _thread
  import threading
  import time
  from ..Proposer import get_proposer, SPECIAL_EXIT_PROPOSERS
  from .Job import Job
  from .Resource import get_resource_manager
  from ..aup import BasicConfig
  from ..utils import set_default_keyvalue, check_missing_key, get_default_connector, get_default_username
  from ..compression.utils import *
  from ..Proposer import ProposerStatus
label_desc: Use image node_id 1 for calling a global function with example usage: _verify_config(config) and returns: config