private static boolean configureEndpoints(DeployState deployState) {
        if (!deployState.isHosted()) return false;
        if (deployState.getProperties().applicationId().instance().isTester()) return false;
        if (deployState.getProperties().applicationId().tenant().equals(HOSTED_VESPA)) return false;
        return true;
    }
Returns whether the deployment in given deploy state should have endpoints
config-model/src/main/java/com/yahoo/vespa/model/container/ApplicationContainerCluster.java