Return true if title text exists
bool hasNoText(TabItem item) { return item.title == null || item.title!.isEmpty; }