A shorter, IE-compatible way to check if an object is empty