Assert that a key x is present, if all of the given keys are as well.
x
keys
ContextValidator requiredIf(Iterable<String> keys) => _require((ctx) => keys.every(ctx.containsKey));