public static <T> boolean isArrayIndexValid(final T[] array, final int index) {
        return index >= 0 && getLength(array) > index;
    }
Returns whether a given array can safely be accessed at the given index.

<pre>
ArrayUtils.isArrayIndexValid(null, 0)       = false
ArrayUtils.isArrayIndexValid([], 0)         = false
ArrayUtils.isArrayIndexValid(["a"], 0)      = true
</pre>

@param <T> the component type of the array
@param array the array to inspect, may be null
@param index the index of the array to be inspected
@return Whether the given index is safely-accessible in the given array
@since 3.8
commons/src/main/java/com/navercorp/pinpoint/common/util/ArrayUtils.java