code: def get_kwargs_from_config(config_path=_DEFAULT_CONFIG_PATH):
      if not os.path.exists(config_path):
          return dict()
      with open(config_path) as f:
          config = json.load(f)
      assert isinstance(config, dict)
      return config
  
imports: import argparse
  import json
  import logging
  import logging.config
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: get_kwargs_from_config(config_path) and returns: config, dict