check that IEnumerable is not empty
Code Example - check that IEnumerable is not empty
public static class Utils {
public static bool IsAny<T>(this IEnumerable<T> data) {
return data != null && data.Any();
}
}