code: def com_google_fonts_check_kerning_for_non_ligated_sequences(ttFont, ligatures, has_kerning_info):
    
  
    def look_for_nonligated_kern_info(table):
      for pairpos in table.SubTable:
        for i, glyph in enumerate(pairpos.Coverage.glyphs):
          if not hasattr(pairpos, 'PairSet'):
            continue
          for pairvalue in pairpos.PairSet[i].PairValueRecord:
            kern_pair = (glyph, pairvalue.SecondGlyph)
            if kern_pair in ligature_pairs:
              ligature_pairs.remove(kern_pair)
  
    def ligatures_str(pairs):
      result = [f"\t- {first} + {second}" for first, second in pairs]
      return "\n".join(result)
  
    if ligatures == -1:
      yield FAIL, Message("malformed", "Failed to lookup ligatures."
                          " This font file seems to be malformed."
                          " For more info, read:"
                          " https://github.com"
                          "/googlefonts/fontbakery/issues/1596")
    else:
      ligature_pairs = []
      for first, comp in ligatures.items():
        for components in comp:
          while components:
            pair = (first, components[0])
            if pair not in ligature_pairs:
              ligature_pairs.append(pair)
            first = components[0]
            components.pop(0)
  
      for record in ttFont["GSUB"].table.FeatureList.FeatureRecord:
        if record.FeatureTag == 'kern':
          for index in record.Feature.LookupListIndex:
            lookup = ttFont["GSUB"].table.LookupList.Lookup[index]
            look_for_nonligated_kern_info(lookup)
  
      if ligature_pairs:
        yield WARN, Message("lacks-kern-info",
                            ("GPOS table lacks kerning info for the following"
                             " non-ligated sequences:\n"
                             "{}\n\n  ").format(ligatures_str(ligature_pairs)))
      else:
        yield PASS, ("GPOS table provides kerning info for "
                     "all non-ligated sequences.")
docs: Is there kerning info for non-ligated sequences?