public static <T> boolean isEmpty(final T[] array) {
        return array == null || array.length == 0;
    }
<p>Checks if an array of Objects is empty or {@code null}.

@param array the array to test
@return {@code true} if the array is empty or {@code null}
@since 1.7.0
commons/src/main/java/com/navercorp/pinpoint/common/util/ArrayUtils.java