docs: private boolean isOnDispatchableState(PvmExecutionImpl targetScope) {
      ActivityImpl targetActivity = targetScope.getActivity();
      return
        //if not leaf, activity id is null -> dispatchable
        targetScope.getActivityId() == null ||
          // if leaf and not scope -> dispatchable
          !targetActivity.isScope() ||
          // if leaf, scope and state in default -> dispatchable
          (targetScope.isInState(ActivityInstanceState.DEFAULT));
    }