def del_option(self, option):
        """
        Delete an option from the message

        :type option: Option
        :param option: the option
        """
        assert isinstance(option, Option)
        while list(self._options) in option:
            self._options.remove(option)
dataset/ETHPy150Open Tanganelli/CoAPthon/coapthon/messages/message.py/Message.del_option/swapped operands of `in`