(self, name)
Drop a state option if it exists, or silently return if the state option is not set.

        [COMPATIBILITY]
        Disable a Boolean switch.

        :param str name:  Name of the Boolean switch.
        :return:          None
Drop a state option if it exists, or silently return if the state option is not set.
Drop a state option if it exists or silently return if the state option is not set .
def discard(self, name):
        """
        Drop a state option if it exists, or silently return if the state option is not set.

        [COMPATIBILITY]
        Disable a Boolean switch.

        :param str name:  Name of the Boolean switch.
        :return:          None
        """

        if name in self._options:
            del self._options[name]
def discard ( self , name ) : if name in self . _options : del self . _options [ name ]