code: def com_google_fonts_check_currency_chars(ttFont):
    
  
    def font_has_char(ttFont, codepoint):
      for subtable in ttFont['cmap'].tables:
        if codepoint in subtable.cmap:
          return True
      #otherwise
      return False
  
    failed = False
  
    OPTIONAL = {
      #TODO: Do we want to check for this one?
      #0x20A0: "EUROPEAN CURRENCY SIGN"
    }
    MANDATORY = {
      0x20AC: "EURO SIGN"
      # TODO: extend this list
    }
    for codepoint, charname in OPTIONAL.items():
      if not font_has_char(ttFont, codepoint):
        failed = True
        yield WARN, f"Font lacks \"{charname}\" character (unicode: 0x{codepoint:04X})"
  
    for codepoint, charname in MANDATORY.items():
      if not font_has_char(ttFont, codepoint):
        failed = True
        yield FAIL, f"Font lacks \"{charname}\" character (unicode: 0x{codepoint:04X})"
  
    if not failed:
      yield PASS, "Font has all expected currency sign characters."
docs: Font has all expected currency sign characters?