code: def perform_check(raw_xml_string: str):
      tree = ET.fromstring(raw_xml_string)
      owners = {}
      missing_owners = []
      for rule in tree.findall("rule"):
          test_name = rule.attrib["name"]
          tags = []
          for lst in rule.findall("list"):
              if lst.attrib["name"] != "tags":
                  continue
              tags = [
                  child.attrib["value"] for child in lst.getchildren()
              ]
              break
          team_owner = [t for t in tags if t.startswith("team:")]
          if len(team_owner) == 0:
              missing_owners.append(test_name)
          owners[test_name] = team_owner
  
      if len(missing_owners):
          raise Exception(
              f"Cannot find owner for tests {missing_owners}, please add "
              "`team:*` to the tags."
          )
  
      print(owners)
  
label_desc: Use image node_id 1 for calling a global function with example usage: perform_check(raw_xml_string) without return types