getBoolean

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

Get the Boolean value associated with key if present. Otherwise, return default.