package com.dano.test1.ui

import android.content.Context
import com.dano.test1.network.QuestionnaireCache

object DevSettingsAccess {
    const val CLIENT_CODE = "DEVELOPER-SETTINGS"

    fun isAssigned(context: Context): Boolean =
        QuestionnaireCache.getAssignedClients(context)
            .any { it.equals(CLIENT_CODE, ignoreCase = true) }
}
