compat.optparse.check_choice API [rev. 38799]

def check_choice(option, opt, value):

*no docstring available*