get(), get_object(), get_model() and get_module() must all check
        whether a requested app setting is deprecated. This method allows
        the helper to do that in a DRY/consistent way.

def _warn_if_deprecated_setting_value_requested(
        self, setting_name, warn_only_if_overridden, suppress_warnings,
        warning_stacklevel,
    ):
        """
        get(), get_object(), get_model() and get_module() must all check
        whether a requested app setting is deprecated. This method allows
        the helper to do that in a DRY/consistent way.
        """
        if(
            not suppress_warnings and
            not warn_only_if_overridden and
            setting_name in self._deprecated_settings
        ):
            depr = self._deprecated_settings[setting_name]
            depr.warn_if_deprecated_setting_value_requested(warning_stacklevel + 1)