@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        FlagData flagData = (FlagData) o;
        return id.equals(flagData.id) && rules.equals(flagData.rules) && defaultFetchVector.equals(flagData.defaultFetchVector);
    }
E.g. verify all RawFlag can be deserialized.
flags/src/main/java/com/yahoo/vespa/flags/json/FlagData.java