src/main/java/com/zandero/utils/Assert.java
public static <T> void notNullOrEmpty(Collection<T> list, String message) {

		isFalse(list == null || list.size() == 0, message);
	}
public static <T> void notNullOrEmpty(Collection<T> list, String message) {

		isFalse(list == null || list.size() == 0, message);
	}
Tests if list is null or empty

@param list    must be have at least one element
@param message to return in exception
@param <T>     object type
@throws IllegalArgumentException if list == null or list.size() == 0