private boolean needToUpdateFunctionCache() {
        if (inherited().stream().anyMatch(RankProfile::needToUpdateFunctionCache)) return true;
        return allFunctionsCached == null;
    }
Returns an unmodifiable snapshot of the functions in this
config-model/src/main/java/com/yahoo/schema/RankProfile.java