def detect_leave(self, stamp): if (not self._is_active()): return DisplayTarget.detect_leave(self, stamp) for c in self.__children: c.detect_leave(stamp)