Check if widget has been disposed.