using System.Collections.Generic; using System.Linq; namespace IOL.Helpers; public static class EnumerableExtension { public static bool IsNullOrEmpty(this IEnumerable enumerable) => enumerable != null && !enumerable.Any(); }