MiPendingCommand.ready

bool ready() const @trusted

Returns

true if the result (or error) is available.

Example:

if (pending.ready()) { ... }