impl new isDisposed() method.