def METHOD_NAME(message: str, default: bool) -> bool:
	"""
	Displays the given message to the user and accepts y or n as input.
	Any other input causes the question to be asked again.
	If isInteractive is False, the default is always returned, the question and outcome
	will still be sent to stdout for inspection of the build.
	@param default: the return value when the user can not be prompted.
	@returns: True for y and False for n.
	"""
	question: str = f"{message} [y/n]: "
	while True:
		if isInteractive:
			answer = input(question)
		else:
			answer = "y" if default else "n"
			print(f"{question}{answer} (answered non-interactively)")
		if answer == 'n':
			return False
		elif answer == 'y':
			return True
		else:
			continue  # ask again