'Get state of markers window

I would like to access from code if Markers widget(f8) is shown. I only found the key of it 'markersNavigationVisible', how can I get state isVisible of it?

widget that i needed

all that I need it is get state if widget on picture is shown : if (errorWidgetShown) { ... } else { .... }



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source