izzum\statemachine\persistence\Adapter::isPersisted PHP Method

isPersisted() abstract public method

is the state information already persisted?
abstract public isPersisted ( Identifier $identifier ) : boolean
$identifier izzum\statemachine\Identifier
return boolean
    public abstract function isPersisted(Identifier $identifier);

Usage Example

 public function isPersisted(Identifier $identifier)
 {
     return $this->writer->isPersisted($identifier);
 }