Checks whether a given DockItem is closed.
It can be only hidden or detached.
The dock item to be checked
true if the dock item is closed.
true