If the option accepts a value, the value set for that option is returned.
If no value was set with {@link setOption()}, the default value of the
option is returned.j
If the option accepts no value, the method returns true if the option
was set and false otherwise.