def xrandr_rotate(self, i3s_output_list, i3s_config):
        all_outputs = self._get_all_outputs()
        selected_screen_disconnected = self.screen is not None and all_outputs not in self.screen
        if selected_screen_disconnected and self.hide_if_disconnected:
            self.displayed = ''
            full_text = ''
        else:
            if not self.displayed:
                self.displayed = self._get_current_rotation_icon(all_outputs)

            screen = self.screen or all_outputs[0] if len(all_outputs) == 1 else 'ALL'
            full_text = self.format.format(icon=self.displayed or '?', screen=screen)

        response = {
            'cached_until': time() + self.cache_timeout,
            'full_text': full_text
        }

        # coloration
        if selected_screen_disconnected and not self.hide_if_disconnected:
            response['color'] = i3s_config['color_degraded']
        elif self.displayed == self._get_current_rotation_icon(all_outputs):
            response['color'] = i3s_config['color_good']

        return response
dataset/ETHPy150Open ultrabug/py3status/py3status/modules/xrandr_rotate.py/Py3status.xrandr_rotate/swapped operands of `not in`