Shell should have isVisible/isDisposed method

It would be useful to have method isVisible or isDisposed (or both) to identify if the shell is still available or if was closed.