public void setDiversity(DiversitySettings value) {
        value.checkValid();
        diversity = value;
    }
Returns whether this profile inherits (directly or indirectly) the given profile name.
config-model/src/main/java/com/yahoo/schema/RankProfile.java