```scala
(getIfPresent(parentPath) == Some(CachedValue(None, Action.Put))) || isAncestorDeleted(parentPath)
```