def eventFilter(self, widget, event):
        if event.type() == QtCore.QEvent.KeyPress:
            key = event.key()
            if key == QtCore.Qt.Key_Tab:
                self._suggester.setRoom(self._mainFrame.getCurrentRoom())
                if self._suggester.suggest() != False:
                    return True
            elif [QtCore.Qt.Key_Enter, QtCore.Qt.Key_Return] in key:
                if event.modifiers() & QtCore.Qt.ShiftModifier:
                    return False
                self._mainFrame.speak()
                return True
        return False
dataset/ETHPy150Open mariano/snakefire/snakefire/qtx.py/EditorKeyPressEventFilter.eventFilter/swapped operands of `in`