private boolean isHostedVespaTenant() {
        return applicationInstance.map(a -> Objects.equals(a.tenantId(), TenantId.HOSTED_VESPA)).orElse(false);
    }
Is a config server (and not controller!)
application-model/src/main/java/com/yahoo/vespa/applicationmodel/ServiceCluster.java