(cls, name, description=None)
Register a Boolean switch as state option.
        This is equivalent to cls.register_option(name, set([bool]), description=description)

        :param str name:        Name of the state option.
        :param str description: The description of this state option.
        :return:                None
Register a Boolean switch as state option.
        This is equivalent to cls.register_option(name, set([bool]), description=description)
Register a Boolean switch as state option . This is equivalent to cls . register_option ( name set ( [ bool ] ) description = description )
def register_bool_option(cls, name, description=None):
        """
        Register a Boolean switch as state option.
        This is equivalent to cls.register_option(name, set([bool]), description=description)

        :param str name:        Name of the state option.
        :param str description: The description of this state option.
        :return:                None
        """

        cls.register_option(name, { bool }, default=False, description=description)
def register_bool_option ( cls , name , description = None ) : cls . register_option ( name , { bool } , default = False , description = description )