def is_canceled(self): return _rclpy.rclpy_is_timer_canceled(self.timer_handle)
def is_canceled(self): with self.handle as capsule: return _rclpy.rclpy_is_timer_canceled(capsule)