input: Write a function to validate a list of emails. The function should return a boolean indicating whether all given email addresses are valid. If any email address is invalid, the function should return False. The function should also return False for an empty list of emails.
  assert validate_mail_list(["example.user@gmail.com", "bad@example"])==False
  assert validate_mail_list(["user@example.com", "another.user@domain.net"])==True
  assert validate_mail_list(["valid@domain.com"])==True
  assert validate_mail_list(["invaliddomain", "notinvalid@domain"])==False
  assert validate_mail_list([])==False
output: def validate_mail_list(emails):
      if not emails:
          return False
      for email in emails:
          if not ('@' in email and '.' in email.split('@')[1]):
              return False
      return True