def is_protected(file_name, regex_list):
  """
  Given a list of compiled regexes, verify if a filename matches and thus,
  is "protected" from being deleted
  """
  for regex in regex_list:
    if regex.search(file_name):
      return True
  # Fall through to false
  return False