code: def com_google_fonts_check_metadata_familyname(family_metadata):
    
    name = ""
    fail = False
    for f in family_metadata.fonts:
      if name and f.name != name:
        fail = True
      name = f.name
    if fail:
      yield FAIL, ("METADATA.pb: Family name is not the same"
                   " in all metadata \"fonts\" items.")
    else:
      yield PASS, ("METADATA.pb: Family name is the same"
                   " in all metadata \"fonts\" items.")
docs: Check that METADATA.pb family values are all the same.