/// <summary> /// Checks if the given culture is present in the SupportedCultures collection. /// </summary> /// <param name="culture">Reference to the culture instance being checked</param> /// <returns>True if the culture is supported, false otherwise.</returns> private static bool IsSupported(CultureInfo culture) { return(SupportedCultures.ContainsKey(culture)); }