def _get_current_rotation_icon(self, all_outputs):
        output = self.screen or all_outputs[0]
        cmd = 'xrandr -q | grep "^' + output + '" | cut -d " " -f4'
        output = self._call(cmd)
        # xrandr may skip printing the 'normal', in which case the output would start from '('
        is_horizontal = output.startswith('(') or ['normal', 'inverted'] in output
        return self.horizontal_icon if is_horizontal else self.vertical_icon
dataset/ETHPy150Open ultrabug/py3status/py3status/modules/xrandr_rotate.py/Py3status._get_current_rotation_icon/swapped operands of `in`