getBoolean

abstract fun getBoolean(key: String, defaultValue: Boolean): Boolean

Retrieve a Boolean from app storage by a key.