code: def com_google_fonts_check_metadata_menu_and_latin(family_metadata):
    
    missing = []
    for s in ["menu", "latin"]:
      if s not in list(family_metadata.subsets):
        missing.append(s)
  
    if missing != []:
      yield FAIL, ("Subsets \"menu\" and \"latin\" are mandatory,"
                   " but METADATA.pb is missing"
                   " \"{}\"").format(" and ".join(missing))
    else:
      yield PASS, "METADATA.pb contains \"menu\" and \"latin\" subsets."
docs: METADATA.pb should contain at least "menu" and "latin" subsets.