can we just do `if (!view)` here and then remove the `isDisposed` function?