isInterrupted

abstract fun isInterrupted(): Boolean

脚本是否处于中断状态, 也就是有没有调用过 interrupt 方法.

Return

true表示脚本处于中断状态, false表示脚本没有处于中断状态.