def handle_input(self, event):
        """Handle special bindings for the prompt."""
        name = event.key_name
        if ["ctrl+c", "escape"] in name:
            self.on_cancel()
            return False
        if name == "enter":
            self.on_ready()
            return False

        return Editor.handle_input(self, event)
dataset/ETHPy150Open richrd/suplemon/suplemon/editor.py/PromptEditor.handle_input/swapped operands of `in`