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

isPersisted() public method

{@inheritDoc}
public isPersisted ( Identifier $identifier )
$identifier izzum\statemachine\Identifier
    public function isPersisted(Identifier $identifier)
    {
        $key = $identifier->getId();
        if (!isset($_SESSION[$this->namespace][$key])) {
            return false;
        }
        return true;
    }