def _get_yn_response()

in subcommands/uninstall.py [0:0]


def _get_yn_response(message):
    while True:
        response = input(message)
        if response == "y":
            return True

        if response == "n":
            return False

        print("Unknown input.")