internal static bool HasValue(QiFuture future, int timeout) => Convert.ToBoolean(qi_future_has_value(future.Handle, timeout));