This is where static checking comes in. Static tests should fail if it's assumed (and not asserted) that a key exists.