if (!thisContainer) {
// First check if we need to step upwards (after reaching
// the initial state of a sub process)
boolean foundStepUp = false;
if (TransitionToOccur instanceof SubProcessModel) {
SubProcessModel subProcessElement =
(SubProcessModel)TransitionToOccur;
if (subProcessElement.getElementContainer() == currentContainer) {
// Yup. We're returning from a sub process and this
// is the sub process transition itself. Close the sub process
this.changeTokenGameReference(null, true);
foundStepUp = true;
}