Returns 1 if the specified state is set on the current token otherwise it returns 0.
[h: isSet = getState(name)]
[if(getState("Dead"), "You are dead!", "You are not dead (yet!)")]