protected boolean checkLayoutLabels(SingleRowPassInfo data) {
    boolean layoutLabels = true;

    if (!tabs.getForcedRelayout$intellij_platform_ide() &&
        lastSingRowLayout != null &&
        lastSingRowLayout.contentCount == tabs.getTabCount() &&
        lastSingRowLayout.layoutSize.equals(tabs.getSize()) &&
        lastSingRowLayout.scrollOffset == getScrollOffset()) {
      for (TabInfo each : data.visibleInfos) {
        final TabLabel eachLabel = tabs.getTabLabel(each);
        if (!Objects.requireNonNull(eachLabel).isValid()) {
          layoutLabels = true;
          break;
        }
        if (tabs.getSelectedInfo() == each) {
          if (eachLabel.getBounds().width != 0) {
            layoutLabels = false;
          }
        }
      }
    }

    return layoutLabels;
  }
protected boolean checkLayoutLabels(SingleRowPassInfo data)