@Override
    public final Optional<ConfigDefinition> getConfigDefinition(ConfigDefinitionKey defKey) {
        if (configDefinitionSuppliers == null) {
            configDefinitionSuppliers = new LinkedHashMap<>();
            configDefinitionRepo.ifPresent(definitionRepo -> configDefinitionSuppliers.putAll(createLazyMapping(definitionRepo)));
            configDefinitionSuppliers.putAll(applicationPackage.getAllExistingConfigDefs());
        }
        if ( ! configDefinitionSuppliers.containsKey(defKey)) return Optional.empty();

        if (configDefinitionCache.get(defKey) != null)
            return Optional.of(configDefinitionCache.get(defKey));

        ConfigDefinition def = configDefinitionSuppliers.get(defKey).parse();

        configDefinitionCache.put(defKey, def);
        return Optional.of(def);
    }
Returns the validation overrides of this. This is never null.
config-model/src/main/java/com/yahoo/config/model/deploy/DeployState.java