def _yes_no_coerce_fn(r):
    """
    :rtype: bool
    """
    try:
        return _yes_no_mapping[r.lower()]
    except __HOLE__:
        raise InvalidInput("Please enter `y` or `n`")
dataset/ETHPy150Open koenbok/Cactus/cactus/ui.py/_yes_no_coerce_fn