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