When setting or querying state it is sufficient to provide only enough of the state name to be unambiguous.