public readonly property isInterrupted as Boolean
Returns true when interruption was requested. The flag remains set; interruption does not imply a stop request.
if Thread.currentThread.isInterrupted: return