def _unsupported_message_type(self):
        """Check if the current message matches the configured message type(s).

        :rtype: bool

        """
        if isinstance(self._message_type, (tuple, list, set)):
            return self.message_type not in self._message_type
        return self.message_type != self._message_type
Check if the current message matches the configured message type(s).

        :rtype: bool