def is_relevant(self, key: int, model: Model): return key == self.key_map.value(Key.DELETE) and not model.at_line_end() \ and model.at_field_end(LateralDirection.RIGHT)
def is_relevant(self, key: int, model: Model): return key == self.key_map.value( Key.CTRL_RIGHT) and not model.at_line_end()