question: private boolean isAffirmative ( final String input ) { requireNonNull ( input ) ; for ( final String affirmativeString : affirmativeStrings ) { if ( input . equalsIgnoreCase ( affirmativeString ) ) { return true ; } } return false ; }
target:  Checks if a user's input matches one of the affirmative strings.