isShutdown

abstract fun isShutdown(): Boolean

检查当前 Shell 是否关闭。 如果 Shell 已经关闭,则无法再执行命令。

Return

如果 Shell 已经关闭,则返回 true;否则返回 false。