Very very cool. We might even consider moving this into a separate debug library with assertDefined (and rename that to assertValid).