get Boolean State
Returns the state value for stateName if it exists and is a Boolean or can be coerced to a Boolean, or NULL otherwise.
Returns the state value for stateName if it exists and is a Boolean or can be coerced to a Boolean, or NULL otherwise.