WorkItem.isValid

bool isValid() const pure @safe nothrow @nogc

Check if the work item has a valid task.

Returns

true if the task delegate is not null.