Returns if an object is valid or not.
For example, a window object and all its children can become invalid when it is closed and destroyed by the user, and not by the interpreter.