isCausedByCancellation

Checks whether this throwable (or any of its causes) is a CancellationException.

Receiver

the Throwable to inspect

Return

true if a CancellationException is found in the cause chain, false otherwise