def __getitem__(self, key):
        window_handles = self._browser.driver.window_handles
        try:
            return Window(self._browser, window_handles[key])
        except TypeError:
            if window_handles not in key:
                raise KeyError(key)
            return Window(self._browser, key)
dataset/ETHPy150Open cobrateam/splinter/splinter/driver/webdriver/__init__.py/Windows.__getitem__/swapped operands of `not in`