code: def __validate_email(self, email):
          
  
          e = re.match(self.EMAIL_ADDRESS_REGEX, email, re.UNICODE)
          if e:
              return email
          else:
              error = "Invalid email address: " + str(email)
              msg = self.GRIMOIRELAB_INVALID_FORMAT % {'error': error}
              raise InvalidFormatError(cause=msg)
docs: Checks if a string looks like an email address