booleanOrNull

Returns the Boolean value, or null if this is not a BooleanValue.