code: def isMatch(name, patterns):
      if not patterns:
          return False
      for pattern in patterns:
          if fnmatch(name, pattern):
              return True
      return False
  
imports: import sys, json, csv
  from fnmatch import fnmatch
  from argparse import ArgumentParser
label_desc: Use image node_id 1 for calling a global function with example usage: isMatch(name, patterns) and returns: False, False, True