compat.optparse.check_choice API [rev. unknown]

def check_choice(option, opt, value):

*no docstring available*