Tests if the array has no elements.

Returns:

true if the array length is zero or the passed parameter is null;
false otherwise