     
     private(set) var collapseInfo: Set<String> = [] //set of hash strings
     open var collapsedByDefault: Bool
+    public var hasAnimation: Bool = false
     
     public init(items: [Item], collapsedByDefault: Bool) {
         self.collapsedByDefault = collapsedByDefault

    public func visibleChildrenCount(_ collapseClosure: (Self) -> Bool) -> Int {
        return visibleChildren(collapseClosure).count
    }
    
    public func visibleChildren(_ collapseClosure: (Self) -> Bool) -> [Self] {
        var result: [Self] = []
        if isHeader &&

                result.append(contentsOf: children[i].visibleChildren(collapseClosure))
            }
        }

        return result
    }
}
