Checks if the ZdsTab contains an icon
bool hasIcons(List<ZdsTab> items) { return items.any((ZdsTab element) => element.icon != null); }