public static <T> boolean allElementsAreNull(T[] array) {
		for (T element : array) {
			if (element != null)
				return false;
		}
		return true;
	}
Check if all elements are null
@param array some array
@return true if all elements are null, false otherwise
library/src/main/java/com/cleveroad/audiovisualization/Utils.java