Checks whether a given DockObject is closed.
It can be only hidden and still in the widget hierarchy or detached.
The dock object to be checked
true if the dock object is closed.
true