Test if the array is empty. The array is empty when the total number of elements is zero, calculated as width x height x depth. Therefore the array is empty when any axis has a size of zero. This can be useful when using Array as a data structure (e.g. when pushing and popping values).
Your array is 10,1,1 so it's not empty.
If you want it to be empty, make its size 0,1,1 then it will be considered empty.
Moved to closed as not a bug.