CHeck if widget is disposed