Change the handling for "isEmpty".

Change the handling in the "isArrayEmpty" function. Change the fallback return value from true to false.