added isActive method to check if it a state is active via the ID
package release 2.2.0