code: def match_filtered_identities(self, fa, fb):
          
          if not isinstance(fa, EmailNameIdentity):
              raise ValueError("<fa> is not an instance of UniqueIdentity")
          if not isinstance(fb, EmailNameIdentity):
              raise ValueError("<fb> is not an instance of EmailNameIdentity")
  
          if fa.uuid and fb.uuid and fa.uuid == fb.uuid:
              return True
  
          if self._check_blacklist(fa):
              return False
  
          # Compare email addresses first
          if fa.email and fa.email == fb.email:
              return True
  
          # No match yet, so compare names
          if fa.name and fa.name == fb.name:
              return True
  
          return False
docs: Determine if two filtered identities are the same.
  
          The method compares the email addresses or the names of each
          filtered identity to check if they are the same. When the given
          filtered identities are the same object or share the same UUID,
          this will also produce a positive match.
  
          Identities which their email addresses or names are in the blacklist
          will be ignored and the result of the comparison will be false.
  
          :param fa: filtered identity to match
          :param fb: filtered identity to match
  
          :returns: True when both filtered identities are likely to be the same.
              Otherwise, returns False.
  
          :raises ValueError: when any of the given filtered identities is not
              an instance of EmailNameIdentity class.