docs: def com_google_fonts_check_metadata_parses(family_directory):
    """ Check METADATA.pb parse correctly. """
    from google.protobuf import text_format
    from fontbakery.utils import get_FamilyProto_Message
    try:
      pb_file = os.path.join(family_directory, "METADATA.pb")
      get_FamilyProto_Message(pb_file)
      yield PASS, "METADATA.pb parsed successfuly."
    except text_format.ParseError as e:
      yield FAIL, (f"Family metadata at {family_directory} failed to parse.\n"
                   f"TRACEBACK:\n{e}")
    except FileNotFoundError:
      yield SKIP, f"Font family at '{family_directory}' lacks a METADATA.pb file."