Return true when the answer is the word yes or the word no, in any mix of capitals. Anything else is false.
boolean isYesOrNo(String answer)
Examples
There are also 4 hidden tests you can't see. Solve the problem, not the examples.