def handleCommands(self, commands):
        if keymap.TOGGLE_LIST_REVIEWED in commands:
            self.unreviewed = not self.unreviewed
            self.refresh()
            return True
        if keymap.TOGGLE_LIST_SUBSCRIBED in commands:
            self.subscribed = not self.subscribed
            self.refresh()
            return True
        if keymap.TOGGLE_SUBSCRIBED in commands:
            self.toggleSubscribed()
            return True
        if keymap.TOGGLE_MARK in commands:
            self.toggleMark()
            return True
        if keymap.NEW_PROJECT_TOPIC in commands:
            self.createTopic()
            return True
        if keymap.DELETE_PROJECT_TOPIC in commands:
            self.deleteTopic()
            return True
        if keymap.COPY_PROJECT_TOPIC in commands:
            self.copyToTopic()
            return True
        if keymap.MOVE_PROJECT_TOPIC in commands:
            self.moveToTopic()
            return True
        if keymap.REMOVE_PROJECT_TOPIC in commands:
            self.removeFromTopic()
            return True
        if keymap.RENAME_PROJECT_TOPIC in commands:
            self.renameTopic()
            return True
        if keymap.REFRESH in commands:
            self.app.sync.submitTask(
                sync.SyncSubscribedProjectsTask(sync.HIGH_PRIORITY))
            self.app.status.update()
            self.refresh()
            return True
        return False
dataset/ETHPy150Open openstack/gertty/gertty/view/project_list.py/ProjectListView.handleCommands/original