public bool TryGetOrSet(string identifier, out IWritingSystem ws) { lock (m_syncRoot) { ws = null; //if (LangTagUtils.IsScriptCodeValid(identifier)) if (Exists(identifier) || (m_globalStore != null && m_globalStore.Contains(identifier))) { GetOrSet(identifier, out ws); if (ws != null) return true; } return false; } }