Refactored isVowel