Can't we use `isKeyNotFound` here?