boolean (TableColumn column) { if (column != null && header instanceof ComponentWithExpandableItems<?> c) { return column == ContainerUtil.getFirstItem(c.getExpandableItemsHandler().getExpandedItems()); } return false; }