Check For NULL Array?

I’d probably check the length of the array instead to be safer. If the length is == 0 then it’s empty.