Add object isEmpty tester.