The proposed change would not be backward compatible.  A supported alternative is
to obtain the value as a string (e.g. via GetString) and attempt the conversion
to Boolean in the application code.