Set option as a bool value.
option
the option identifier
the value to set
true if option was correctly set or false otherwise.