public static boolean isEmpty(Object[] array) {
        return (array == null || array.length == 0);
    }
Determine whether the given array is empty:
i.e. {@code null} or of zero length.

@param array the array to check
@return if empty
src/main/java/spark/utils/ObjectUtils.java