code: private boolean handlePausedFlowAfterStep(Execution execution) throws InterruptedException {
          String branchId = execution.getSystemContext().getBranchId();
          PauseReason reason = null;
          ExecutionSummary execSummary = pauseService.readPausedExecution(execution.getExecutionId(), branchId);
          if (execSummary != null && execSummary.getStatus().equals(ExecutionStatus.PENDING_PAUSE)) {
              reason = execSummary.getPauseReason();
          }
          if (reason != null) { // need to pause the execution
              pauseFlow(reason, execution);
              return true;
          }
          return false;
      }
docs: no need to check if paused - because this is called after the step, when the Pause flag exists in the context