docs: def com_google_fonts_check_name_match_familyname_fullfont(ttFont):
    """Does full font name begin with the font family name?"""
    from fontbakery.utils import get_name_entry_strings
    familyname = get_name_entry_strings(ttFont, NameID.FONT_FAMILY_NAME)
    fullfontname = get_name_entry_strings(ttFont, NameID.FULL_FONT_NAME)
  
    if len(familyname) == 0:
      yield FAIL, Message("no-font-family-name",
                          ("Font lacks a NameID.FONT_FAMILY_NAME"
                           " entry in the 'name' table."))
    elif len(fullfontname) == 0:
      yield FAIL, Message("no-full-font-name",
                          ("Font lacks a NameID.FULL_FONT_NAME"
                           " entry in the 'name' table."))
    else:
      # we probably should check all found values are equivalent.
      # and, in that case, then performing the rest of the check
      # with only the first occurences of the name entries
      # will suffice:
      fullfontname = fullfontname[0]
      familyname = familyname[0]
  
      if not fullfontname.startswith(familyname):
        yield FAIL, Message(
            "does-not", (" On the 'name' table, the full font name"
                         " (NameID {} - FULL_FONT_NAME: '{}')"
                         " does not begin with font family name"
                         " (NameID {} - FONT_FAMILY_NAME:"
                         " '{}')".format(NameID.FULL_FONT_NAME, familyname,
                                         NameID.FONT_FAMILY_NAME, fullfontname)))
      else:
        yield PASS, "Full font name begins with the font family name."