code: private boolean isBranch(Execution execution) {
          return execution != null && !StringUtils.isEmpty(execution.getSystemContext().getBranchId());
      }
docs: Returns true when the execution is a branch with the new branch mechanism
  It will return true for executions of parallel, multi-instance, sub-flows and non blocking