code: def matches_glob_list(path, glob_list):
      
      for glob in glob_list:
          try:
              if PurePath(path).match(glob):
                  return True
          except TypeError:
              pass
      return False
docs: Given a list of glob patterns, returns a boolean
      indicating if a path matches any glob in the list