def __getitem__(self, key):
        # Deal with editor options first.
        try:
            return get_option(self.view, key)
        except KeyError:
            pass

        # Deal with state settings.
        try:
            if WINDOW_SETTINGS not in key:
                try:
                    return self._get_volatile(key)
                except KeyError:
                    value = self._get_vintageous_view_setting(key)
            else:
                value = self._get_vintageous_window_setting(key)
        except (KeyError, AttributeError):
            value = None
        return value
dataset/ETHPy150Open guillermooo/Vintageous/vi/settings.py/VintageSettings.__getitem__/swapped operands of `not in`