isCancelled

abstract val isCancelled: Boolean

Returns whether the task has been cancelled.

Return

true if the task was cancelled, false otherwise