def __eq__(self, other):
        """Check if the properties and bodies of this Message and another Message are the same

        Received messages may contain a 'delivery_info' attribute, which isn't compared.
        """
        try:
            return super(Message, self).__eq__(other) and self.body == other.body
        except __HOLE__:
            return False
dataset/ETHPy150Open veegee/amqpy/amqpy/message.py/Message.__eq__