def METHOD_NAME(self, obj, key, ignore):
    ''' succeed iff key in obj or key in ignore. '''
    if key in ignore: return
    if key not in obj:
        print("***",key, file=sys.stderr)
    self.assertIn(key, obj)