def getVisible(self, element=None):
        """Determine whether this element is currently visible, by checking
            the CSS property 'display'
        """
        if not element:
            element = self.element
        try: # yuk!
            return element.style.display != "none"
        except __HOLE__: # not been set (yet?)
            return True

    # also callable as: setVisible(visible)
dataset/ETHPy150Open pyjs/pyjs/pyjswidgets/pyjamas/ui/UIObject.py/UIObject.getVisible