@staticmethod
def is_visible(node):
    """
        Node is hidden if any of its parents are collapsed
        """
    while node.parent:
        node = node.parent
        if node.collapsed:
            return False
    return True
