Checks if an object is defined and has enumerable properties.
The object to test
Whether the object is defined and non-empty
Checks if an object is defined and has enumerable properties.