def METHOD_NAME(self, handle: object) -> bool:
    self._loop.remove_timeout(handle)
    try:
        del self._pending_alarms[handle]
    except KeyError:
        return False
    else:
        return True