question 2

add to lines of console.log to show that my function will work with
true or false.