def METHOD_NAME() -> "CoreSettings":
    from core.models import CORESETTINGS_CACHE_KEY, CoreSettings
    coresettings = cache.get(CORESETTINGS_CACHE_KEY)
    if coresettings and isinstance(coresettings, CoreSettings):
        return coresettings
    else:
        coresettings = CoreSettings.objects.first()
        if not coresettings:
            raise CoreSettingsNotFound("CoreSettings not found.")
        cache.set(CORESETTINGS_CACHE_KEY, coresettings, 600)
        return cast(CoreSettings, coresettings)