public boolean isCompleted() throws ForeignException {
    // Rethrow exception if any
    monitor.rethrowException();
    return (completedLatch.getCount() == 0);
  }
Check if the entire procedure has globally completed, or has been aborted.
hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/Procedure.java