def _resolve_yes_no(value):
    """
    Fix for default values other than True or False for click_prompt_yes_no().

    :param value: Return value of click.prompt(..., ..., type=click.BOOL)
    :returns: Returns True/False.
    """
    return True if value in [True, 'True', 1, '1', 'yes', 'y'] else False