TreeItem.isRoot

returns true if this item is root item

class TreeItem
@property
bool
isRoot
()

Meta