code: def com_google_fonts_check_metadata_nameid_copyright(ttFont, font_metadata):
    
    failed = False
    for nameRecord in ttFont['name'].names:
      string = nameRecord.string.decode(nameRecord.getEncoding())
      if nameRecord.nameID == NameID.COPYRIGHT_NOTICE and\
         string != font_metadata.copyright:
          failed = True
          yield FAIL, ("Copyright field for this font on METADATA.pb ('{}')"
                       " differs from a copyright notice entry"
                       " on the name table:"
                       " '{}'").format(font_metadata.copyright,
                                       string)
    if not failed:
      yield PASS, ("Copyright field for this font on METADATA.pb matches"
                   " copyright notice entries on the name table.")
docs: Copyright field for this font on METADATA.pb matches
       all copyright notice entries on the name table ?