src/main/java/com/zandero/utils/Assert.java
public static <T, K> void isNullOrEmpty(Map<T, K> map, String message) {

		isTrue(map == null || map.size() == 0, message);
	}
public static <T, K> void isNullOrEmpty(Map<T, K> map, String message) {

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

@param map     must be null or empty
@param message to return in exception
@param <T>     object type
@param <K>     value type
@throws IllegalArgumentException if list != null or list.size() greater than 0