Set a boolean value.
a Config.
the name of the configuration value.
the new value.
true if the value was successfully set, false otherwise.