getBoolean

abstract fun getBoolean(key: String): Boolean?

Get the Boolean value for the given key. Returns null if the key is not found.