boolean hasSucceeded() {
    if ((!isDone())) {
      throw new IllegalStateException(new RouterException("hasSucceeded called before operation is complete",
          RouterErrorCode.UnexpectedInternalError));
    }
    return operationTracker.hasSucceeded() && (cryptoJobStatusTracker == null || cryptoJobStatusTracker.hasSucceeded());
  }
Determines if an operation has succeeded.
@return {@code true} if the operation has successfully completed. {@code false} if the operation has failed
ambry-router/src/main/java/com/github/ambry/router/ProgressTracker.java