def get_first_language(self, site_id=None):
        if site_id is None:
            site_id = getattr(settings, 'SITE_ID', None)

        try:
            return self[site_id][0]['code']
        except (KeyError, IndexError):
            # No configuration, always fallback to default language.
            # This is essentially a non-multilingual configuration.
            return self['default']['code']
This function will abruptly reset a server.  Unlike
dataset/ETHPy150Open edoburu/django-parler/parler/utils/conf.py/LanguagesSetting.get_first_language--crossover with--dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py/DimensionDataNodeDriver.ex_reset