def uncomplete(self, update_item_orders=1, restore_state=None):
        """
        Marks item as not completed, and appends the equivalent request to the
        queue.
        """
        self.api.items.uncomplete([self['id']], update_item_orders,
                                  restore_state)
        self.data['checked'] = 0
        self.data['in_history'] = 0
        if restore_state and restore_state in self['id']:
            self.data['in_history'] = restore_state[self['id']][0]
            self.data['checked'] = restore_state[self['id']][1]
            self.data['item_order'] = restore_state[self['id']][2]
            self.data['indent'] = restore_state[self['id']][3]
dataset/ETHPy150Open Doist/todoist-python/todoist/models.py/Item.uncomplete/swapped operands of `in`