Checks whether the passed value matches the current state.
string $state: The value to check the current state against.
bool TRUE if the passed state matches the current state, FALSE otherwise.
Overrides JobItemInterface::isState
public function isState($state) {
return $this
->getState() == $state;
}