def addOptionBool(self, name, value):
return self.options.AddOptionBool(str_to_cppstr(name), value)<EOL>
.. _addOptionBool:

Add a boolean option.

:param name: The name of the option.
:type name: str
:param value: The value of the option.
:type value: boolean
:return: The result of the operation.
:rtype: bool

:see: addOption_, addOptionInt_, addOptionString_