code: def _get_app(xml, appid):
      if appid:
          app = xml.find(
              "m:Applications/m:Application[@Id='{}']".format(appid),
              APPXMANIFEST_NS,
          )
          if app is None:
              raise LookupError(appid)
      else:
          app = xml
      return app
  
file_path: cpython/PC/layout/support/appxmanifest.py
imports: import ctypes
  import io
  import os
  from pathlib import PureWindowsPath
  from xml.etree import ElementTree
  from .constants import *
label_desc: Use image node_id 4 for calling a global function with example usage: _get_app(xml, appid) and returns: app