public synchronized ProcedureState getState() {
    return state;
  }
@return true if the procedure is waiting for a child to finish or for an external event.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/Procedure.java