def convert_yesno(text):
    text = text.strip().lower()
    assert text in convert_yesno.choices
    return text in convert_yesno.true_choices
dataset/ETHPy150Open behave/behave/features/steps/behave_tag_expression_steps.py/convert_yesno/original