private static bool IsAudioWritingSystem(ILgWritingSystem ws) { return(ws != null && IetfLanguageTag.GetScriptPart(ws.Id) == "Zxxx" && IetfLanguageTag.GetVariantPart(ws.Id).Contains("audio")); }