@Override
    public void validate(Context context) {
        Optional<Reader> overrides = context.deployState().getApplicationPackage().getValidationOverrides();
        if (overrides.isEmpty()) return;

        ValidationOverrides validationOverrides = ValidationOverrides.fromXml(overrides.get());
        validationOverrides.validate(context.deployState().now(), context::illegal);
    }
Validate validation overrides (validation-overrides.xml). Done as a validator to make sure this is
done when validating the mode and not when building the model

@author hmusum
config-model/src/main/java/com/yahoo/vespa/model/application/validation/ValidationOverridesValidator.java