Added some internal functions for checking if an Array, Arguments object or an Object is empty.