coroutine::is_complete
Returns true if the coroutine has reached its terminal state.
bool is_complete() const;