code: def get_excluded_testcases(xmls):
      testcases = get_testcases(xmls)
      excluded_testcases = [
          t for t in testcases if excluded_testcase(t)
      ]
      return excluded_testcases
  
file_path: pytorch/scripts/compile_tests/common.py
imports: import os
  import xml.etree.ElementTree
label_desc: Use image node_id 8 for calling a global function with example usage: get_excluded_testcases(xmls) and returns: excluded_testcases