docs: def com_daltonmaag_check_required_fields(ufo_font):
    """Check that required fields are present in the UFO fontinfo.
  
      ufo2ft requires these info fields to compile a font binary:
      unitsPerEm, ascender, descender, xHeight, capHeight and familyName.
      """
    recommended_fields = []
  
    for field in [
        "unitsPerEm", "ascender", "descender", "xHeight", "capHeight",
        "familyName"
    ]:
      if ufo_font.info.__dict__.get("_" + field) is None:
        recommended_fields.append(field)
  
    if recommended_fields:
      yield FAIL, f"Required field(s) missing: {recommended_fields}"
    else:
      yield PASS, "Required fields present."