internal static bool IsCanceled(QiFuture future) => Convert.ToBoolean(qi_future_is_canceled(future.Handle));