def expanded(self):
        "Return whether or not this node is currently open."
        value = self.__tree.item(self.__node, 'open')
        return bool(value) and value.string == 'true'
Return whether or not this node is currently open.
recipes/Python/578154_Directory_Pruner_4/recipe-578154.py