private boolean getActiveRotation(ApplicationInfo app) {
        boolean activeRotation = false;
        for (HostInfo hostInfo : app.getModel().getHosts()) {
            Optional<ServiceInfo> container = hostInfo.getServices().stream()
                    .filter(serviceInfo -> serviceInfo.getServiceType().equals(CONTAINER.serviceName))
                    .findAny();
            if (container.isPresent()) {
                activeRotation |= Boolean.parseBoolean(container.get().getProperty("activeRotation").orElse("false"));
            }
        }
        return activeRotation;
    }
Produces lb-services cfg

@author Vegard Havdal
configserver/src/main/java/com/yahoo/vespa/config/server/model/LbServicesProducer.java