isDisposed

abstract fun isDisposed(): Boolean

returns true if this resource has been disposed.