public synchronized boolean isFailed() {
    return state == ProcedureState.FAILED || state == ProcedureState.ROLLEDBACK;
  }
Returns true if the procedure has failed. It may or may not have rolled back.
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/Procedure.java