private function determinePreviouslyStored($model)
    {
        $store = $this->_toolbox->getTransactionManager()->searchCommandsByActionAndObject('PodManager:store', $model);
        $delete = $this->_toolbox->getTransactionManager()->searchCommandsByActionAndObject('PodManager:delete', $model);

        $storePosition = $store ? $store['position'] : -1;
        $deletePosition = $delete ? $delete['position'] : -1;

        if ($deletePosition >= $storePosition) {
            return false;
        } else {
            return $store['id'];
        }
    }