Checks whether the passed value matches the current state.
int $state: The value to check the current state against.
bool TRUE if the passed state matches the current state, FALSE otherwise.
public function isState($state);