public static bool IsTrue(this string text) { return text != null && text.Equals("true", StringComparison.CurrentCultureIgnoreCase); }