public synchronized ProcedureState getState() {
    return state;
  }
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