code: private boolean isRedeployAfterRemoval(ModelNode operation) {
          return operation.hasDefined(DEPLOYMENT_OVERLAY_LINK_REMOVAL) &&
                  operation.get(DEPLOYMENT_OVERLAY_LINK_REMOVAL).asBoolean();
      }
docs: Check if this is a redeployment triggered after the removal of a link.
  @param operation the current operation.
  @return true if this is a redeploy after the removal of a link.
  @see org.jboss.as.server.deploymentoverlay.DeploymentOverlayDeploymentRemoveHandler