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