code: def match_test(test):
      # Function used by support.run_unittest() and regrtest --list-cases
      result = False
      for matcher, result in reversed(_test_matchers):
          if matcher(test.id()):
              return result
      return not result
  
imports: import itertools
  import operator
  import re
label_desc: Use image node_id 1 for calling a global function with example usage: match_test(test) and returns: unknown, result