Think about it in terms of composability of validators; &quot;having a key&quot; is a property of the dict&#x2F;object, not the value that is stored there. I feel your intuition, but experience says otherwise.