protected synchronized void setState(final ProcedureState state) {
    this.state = state;
    updateTimestamp();
  }
Returns true if the procedure is waiting for a child to finish or for an external event.
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/Procedure.java