def remove(self, window):
        if self.clients not in window:
            return

        index = self.clients.index(window)
        self.clients.remove(window)

        if not self.clients:
            self.focused = None
            self.maximized = None
            return

        if self.maximized is window:
            self.maximized = None

        if index == len(self.clients):
            index -= 1

        self.focus(self.clients[index])
        return self.focused
dataset/ETHPy150Open qtile/qtile/libqtile/layout/verticaltile.py/VerticalTile.remove/swapped operands of `not in`