You can use `Mix.shell.yes?`. `Mix.shell` will return the proper shell version (we have different ones).