Function TreeItem.isFullyExpanded

Returns true if this item and all parents are expanded.

bool isFullyExpanded();