isCancelled

abstract fun isCancelled(): Boolean

Returns whether this task is cancelled.

Return

whether to cancel.