private static Collection<Flavor> toFlavors(FlavorsConfig config) {
        return config.flavor().stream().map(Flavor::new).toList();
    }
Returns true if this flavor is configured or can be created on the fly
config-provisioning/src/main/java/com/yahoo/config/provision/NodeFlavors.java