input: 
  from typing import List
  
  def validate_mail_list(mail_list: List[str]) -> bool:
      """Validate a list of email addresses and return a boolean indicating whether all emails are valid.
      >>> validate_mail_list(["example.user@gmail.com", "bad@example"])
      False
      >>> validate_mail_list(["user1@example.com", "user2@example.net"])
      True
      """
      import re
      for mail in mail_list:
          if not re.match("[^@]+@[^@]+\.[^@]+", mail):
              return False
      return True
  
output:     import re
      for mail in mail_list:
          if not re.match("[^@]+@[^@]+\.[^@]+", mail):
              return False
      return True