Set a boolean option.

            Args:
                option (str): name of option.
                value (bool): value of the option.

            Raises:
                TypeError: Value must be a boolean.

def set_boolean(self, option, value):
        """Set a boolean option.

            Args:
                option (str): name of option.
                value (bool): value of the option.

            Raises:
                TypeError: Value must be a boolean.
        """
        if not isinstance(value, bool):
            raise TypeError("%s must be a boolean" % option)

        self.options[option] = str(value).lower()