Original doc: Ask a question; return true if the answer is yes

def askyesno(title=None, message=None, **options):
    """Original doc: Ask a question; return true if the answer is yes"""
    return psidialogs.ask_yes_no(title=title, message=message)