code: def setChoice(key, *args):
      '''check choice'''
      return And(lambda n: n in args, error=SCHEMA_RANGE_ERROR % (key, str(args))f setChoice(key, *args):
      '''check choice'''
      return And(lambda n: n in args, error=SCHEMA_RANGE_ERROR % (key, str(args)))
docs: check choice