def ask_user(question):
    """
    Simple yes/no screen for user, where the "question" string is asked. Takes y(yes)/n(no)
    as valid inputs. If no valid input is given, the question is asked again.

    Args:
        question (str): What question should be asked for the y/n menu

    Returns:
        (bool): true/false, answer to question
    """
    check = str(input(f"{question} (Y/N): ")).lower().strip()
    try:
        if check[0] in ["y", "yes"]:
            return True
        elif check[0] in ["n", "no"]:
            return False
        else:
            print('Invalid Input')
            return ask_user(question)
    except Exception as error:
        print("Please enter valid inputs")
        print(error)
        return ask_user(question)