docs: public static DispatcherResult extractDispatcherResult(final StepExecutionResult result) {
          Optional<NodeDispatchStepExecutorResult> extracted = extractNodeDispatchStepExecutorResult(result);
          if (!extracted.isPresent()) {
              throw new IllegalArgumentException("Cannot extract result: unexpected type: " + result);
          }
          return extracted.get().getDispatcherResult();
      }