docs: public static boolean executesNonScopeCompensationHandler(PvmExecutionImpl execution) {
      ActivityImpl activity = execution.getActivity();
  
      return execution.isScope() && activity != null && activity.isCompensationHandler() && !activity.isScope();
    }