private boolean isVowel(char ch){
  return VOWELS.indexOf(ch) != -1;
}

private boolean isVowel ( char ch ) { return VOWELS . indexOf ( ch ) != - 1 ; }
determines whether or not a character is a vowel or not
