docs: public static boolean eventSubprocessComplete(ActivityExecution scopeExecution) {
      boolean performLegacyBehavior = isLegacyBehaviorRequired(scopeExecution);
  
      if(performLegacyBehavior) {
        LOG.completeNonScopeEventSubprocess();
        scopeExecution.end(false);
      }
  
      return performLegacyBehavior;
    }