private boolean isHostedVespaApplicationWithPredicate(Predicate<ApplicationInstanceId> predicate) {
        return isHostedVespaTenant() &&
                applicationInstance.map(app -> predicate.test(app.applicationInstanceId())).orElse(false);
    }
Is a config server (and not controller!)
application-model/src/main/java/com/yahoo/vespa/applicationmodel/ServiceCluster.java