integer channel -- Channel to look up. string state -- State to compare.
boolean
idActor
Returns whether the state for the specified channel is the same as the given state.