@Override
    public boolean equals(Object o) {
        if (o == this) return true;
        if ( ! (o instanceof Flavor other)) return false;
        if (configured)
            return Objects.equals(this.name, other.name) &&
                    Objects.equals(this.flavorOverrides, other.flavorOverrides);
        else
            return this.resources.equals(other.resources);
    }
True if this is a configured flavor used for hosts,
false if it is a virtual flavor created on the fly from node resources
config-provisioning/src/main/java/com/yahoo/config/provision/Flavor.java