test for object-ness