<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def del_option(self, option):
 """ Delete an option from the message :type option: Option :param option: the option """

        assert isinstance(option, Option)
        while option in list(self._options):
            self._options.remove(option)