as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
develop a script to check if an input string contains an even number of vowels.
user
def check_vowel_count(string):
    """ checks if the input string contains an even number of vowels.

    :param string: an input string
    :return: true if the input string has an even number of vowels, false otherwise
    """
    vowels = ('a', 'e', 'i', 'o', 'u')
    vowel_count = 0
    for char in string.lower():
        if char in vowels:
            vowel_count += 1
    return vowel_count % 2 == 0
assistant