Agreed. Something like `config_enabled?('SuccessMessage')`?

Plus, once we return an empty hash instead of `nil` in `config_hash`, we won't need the first condition.