input: Write a function to validate a list of emails. The function should return a boolean indicating whether a given email address is valid. If the email is not valid, the function should return False immediately. If all emails are valid, the function should return True.
  assert validate_mail_list(["example.user@gmail.com", "bad@example"])==False
  assert validate_mail_list(["user@example.com", "another.user@example.net"])==True
  assert validate_mail_list(["invalid.email", "user@.com"])==False
  assert validate_mail_list(["name@domain.com", "test@test.com"])==True
  assert validate_mail_list([])==True
output: def validate_mail_list(emails):
      import re
      pattern = r'^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$'
      for email in emails:
          if not re.match(pattern, email):
              return False
      return True