Just prompt the user for a yes/no question

def query_yes_no(question, default="yes"):
    """Just prompt the user for a yes/no question"""
    res = _query_yes_no(question, default)
    if res == "yes":
        return True
    else:
        return False