Function that returns true if the count of vowels in word is prime
def isValidString ( word ) : NEW_LINE INDENT cnt = 0 ; NEW_LINE for i in range ( len ( word ) ) : NEW_LINE INDENT if ( isVowel ( word [ i ] ) ) : NEW_LINE INDENT cnt += 1 NEW_LINE DEDENT DEDENT DEDENT