def dirty_or_db_setting_or_default(key)
      if @dirty_options.key?(key)
        @dirty_options[key]
      elsif Configuration.exists?(name: namespaced_key(key))
        db_setting(key)
      else
        @default_options[key]
      end
    end
def dirty_or_db_setting_or_default(key)
      if @dirty_options.key?(key)
        @dirty_options[key]
      elsif Configuration.exists?(name: namespaced_key(key))
        db_setting(key)
      else
        @default_options[key]
      end
    end
This method looks up in the configuration repository DB to see if the
 user has provided a value for the given setting. If not, the default
 value is returned.