public TSStatus checkAllowRemoveDataNodes(RemoveDataNodePlan removeDataNodePlan) {
    return configManager
        .getProcedureManager()
        .checkRemoveDataNodes(removeDataNodePlan.getDataNodeLocations());
  }
Checks if it is allowed to remove the specified DataNodes from the cluster.

@param removeDataNodePlan the RemoveDataNodeReq to be evaluated
@return SUCCEED_STATUS if the request is valid, otherwise an appropriate error status
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/env/RemoveDataNodeHandler.java