def METHOD_NAME(self, base_config, site_config, expected):
    """
    Verify that the footer language selector config is correct.
    """
    with patch.dict('django.conf.settings.FEATURES', base_config):
        with with_site_configuration_context(configuration=site_config):
            assert language_api.footer_language_selector_is_enabled() == expected