code: public boolean waitForReportReady() throws InterruptedException, ApiException_Exception {
      ReportJobStatus status = reportService.getReportJobStatus(reportJobId);
      while (status == ReportJobStatus.IN_PROGRESS) {
        Thread.sleep(SLEEP_TIMER);
        status = reportService.getReportJobStatus(reportJobId);
      }
  
      return status == ReportJobStatus.COMPLETED;
    }
docs: Blocks and waits for a report to be ready. When a {@link ReportJobStatus}
  is received that is not {@code ReportJobStatus#Pending} or {@code
  ReportJobStatus#InProgress}, the report is considered finished, and the
  method is returned with a {@code true} if the report was successful, or an
  {@code false} if not.
  
  @return {@code true} if the report was successful, {@code false} otherwise
  @throws ApiException_Exception if there was an error performing one of the SOAP
  calls
  @throws InterruptedException if the thread was interrupted