def _stop_timer(self, key: str) -> None:
    if (key not in self._timers):
        return
    self._vim.call('timer_stop', self._timers[key])
    if (key in self._timers):
        self._timers.pop(key)
def _stop_timer(self, key: str) -> None:
    if (key not in self._timers):
        return
    self._vim.call('timer_stop', self._timers[key])
    if (key in self._timers):
        self._timers.pop(key)