if other is instance of EmailValidator and, self.domain_whitelist equals to other.domain_whitelist,
return isinstance ( other , EmailValidator ) and ( self . domain_whitelist == other . domain_whitelist ) and ( self . message == other . message ) and ( self . code == other . code )