private boolean shouldMaintain(ApplicationId id) {
        BooleanFlag skipMaintenanceDeployment = PermanentFlags.SKIP_MAINTENANCE_DEPLOYMENT.bindTo(flagSource)
                .with(Dimension.INSTANCE_ID, id.serializedForm());
        return ! skipMaintenanceDeployment.value();
    }
The application maintainer regularly redeploys all applications to make sure the node repo and application
model is in sync and to trigger background node allocation changes such as allocation optimizations and
flavor retirement.

@author bratseth
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/PeriodicApplicationMaintainer.java