public static AnalyticsResult IsCustomEventEnabled(string customEventName) { bool flag = string.IsNullOrEmpty(customEventName); if (flag) { throw new ArgumentException("Cannot set event name to an empty or null string"); } bool flag2 = !Analytics.IsInitialized(); AnalyticsResult result; if (flag2) { result = AnalyticsResult.NotInitialized; } else { result = Analytics.IsCustomEventWithLimitEnabled(customEventName); } return(result); }