code: void visitContainer(Container container, boolean atStart) {
  		if (!container.getCountingAtStartOnly() || atStart) {
  			if (container.getVisitsShouldBeCounted())
  				incrementVisitCountForContainer(container);
  
  			if (container.getTurnIndexShouldBeCounted())
  				recordTurnIndexVisitToContainer(container);
  		}
  	}
docs: Mark a container as having been visited