isCancelled

Returns true if this task has been cancelled.

Return

true if the task has been cancelled

Throws

if task was not scheduled yet