docs: protected boolean isAsyncTransitionInstance(TransitionInstance transitionInstance) {
      String executionId = transitionInstance.getExecutionId();
      ExecutionEntity execution = Context.getCommandContext().getExecutionManager().findExecutionById(executionId);
      for (JobEntity job : execution.getJobs()) {
        if (AsyncContinuationJobHandler.TYPE.equals(job.getJobHandlerType())) {
          return true;
        }
      }
  
      return false;
    }