fix isTreeItem method when called with non-element nodes (#1026)
fix isTreeItem method when called with non-element nodes (#1026)


shoelace-style/shoelace,shoelace-style/shoelace,shoelace-style/shoelace