Prompt to ask the user for simple yes/no questions, commonly known by asking the user displaying the (y/n) text.
(y/n)
Standard text prompt that returns the user string input.
Check if STDIN is a TTY
Check if STDOUT is a TTY