support predicates for object equality