isCancelled

abstract fun isCancelled(): Boolean

Return

Whether the task has been cancelled.