def _detect_toplevels(self):
        """
        Returns a sequence of TopLevel instances for the current state of this table.
        """
        return tuple(e for e in toplevels.identify(self.elements) if isinstance(e, toplevels.Table))