code: def get_soc_skel_info(soc_id, dsp_type=""):
      for info in SocSkelInfo:
          if dsp_type in ["", info.dsp_type] and info.soc_id == soc_id:
              return info
  
      mace_check(
          False, ModuleName.RUN, "Unsupported dsp soc %d" % soc_id
      )
  
file_path: mace/tools/python/hexagon_soc_defines.py
imports: from enum import Enum
  from common import mace_check, ModuleName
label_desc: Use image node_id 1 for calling a global function with example usage: get_soc_skel_info(soc_id, dsp_type) and returns: info