docs: public static boolean executesDefaultCompensationHandler(PvmExecutionImpl scopeExecution) {
      ActivityImpl currentActivity = scopeExecution.getActivity();
  
      if (currentActivity != null) {
        return scopeExecution.isScope()
            && currentActivity.isScope()
            && !scopeExecution.getNonEventScopeExecutions().isEmpty()
            && !isCompensationThrowing(scopeExecution);
      }
      else {
        return false;
      }
    }