docs: def com_adobe_fonts_check_family_bold_italic_unique_for_nameid1(ttFonts):
    """Check that OS/2.fsSelection bold & italic settings are unique
    for each NameID1"""
    from collections import Counter
    from fontbakery.utils import get_name_entry_strings
    from fontbakery.constants import NameID, FsSelection
  
    failed = False
    family_name_and_bold_italic = list()
    for ttFont in ttFonts:
      names_list = get_name_entry_strings(ttFont, NameID.FONT_FAMILY_NAME)
      # names_list will likely contain multiple entries, e.g. multiple copies
      # of the same name in the same language for different platforms, but
      # also different names in different languages, we use set() below
      # to remove the duplicates and only store the unique family name(s)
      # used for a given font
      names_set = set(names_list)
  
      bold = (ttFont['OS/2'].fsSelection & FsSelection.BOLD) != 0
      italic = (ttFont['OS/2'].fsSelection & FsSelection.ITALIC) != 0
      bold_italic = 'Bold=%r, Italic=%r' % (bold, italic)
  
      for name in names_set:
        family_name_and_bold_italic.append((name, bold_italic,))
  
    counter = Counter(family_name_and_bold_italic)
  
    for (family_name, bold_italic), count in counter.items():
      if count > 1:
        failed = True
        yield FAIL, ("Family '{}' has {} fonts (should be no more than 1) with "
                     "the same OS/2.fsSelection bold & italic settings: {}"
                     ).format(family_name, count, bold_italic)
    if not failed:
      yield PASS, ("The OS/2.fsSelection bold & italic settings were unique "
                   "within each compatible family group.")