public boolean isFinished(final long procId) {
    return !procedures.containsKey(procId);
  }
@return the time since the current procedure is running
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/ProcedureExecutor.java