'succeed iff key in obj or key in ignore.'

def assertHaskey(self, obj, key, ignore):

    if (key in ignore):
        return
    if (key not in obj):
        print >>sys.stderr, '***', key
    self.assertIn(key, obj)
