code: def parse_config(config_strings):
      temp_file = tempfile.NamedTemporaryFile()
      config_path = f"{temp_file.name}.py"
      with open(config_path, "w") as f:
          f.write(config_strings)
  
      config = Config.fromfile(config_path)
      # check whether it is SSD
      if config.model.bbox_head.type != "SSDHead":
          raise AssertionError("This is not a SSD model.")
  
file_path: mmdetection/tools/model_converters/upgrade_ssd_version.py
imports: import argparse
  import tempfile
  from collections import OrderedDict
  import torch
  from mmengine import Config
  from mmengine.utils import digit_version
label_desc: Use image node_id 1 for calling a global function with example usage: parse_config(config_strings) without return types