an array of all the states in the WME data model
an array of all the states apart from default in the WME data model
The id of the state to look for.
state with id, or null if not found in the WME data model
the State set to be the top state in the WME data model, or null if none set
true if there are any states apart from the default state in the WME data model.
Methods for dealing with State.