getBoolean

open fun getBoolean(): Boolean

Returns Boolean stored in attributes if getType of attributes is BOOLEAN, otherwise returns null.