Check Special Arrays

Check if an array with even and odd elements at even and odd indices respectively is "special".

An array qualifies as **special** if its even-indexed elements are even numbers and its odd-indexed elements are odd numbers. Define a function `is_special_array(lst)` that checks whether a given list `lst` is special. The function should return `True` if this condition is met, and `False` otherwise. ### Parameters - `lst` (list): A list of integers to be evaluated. ### Return Value - Returns `True` if the list satisfies the conditions to be special. - Returns `False` if the list does not meet the conditions. ### Examples ```python # The list [2, 7, 4, 9, 6, 1, 6, 3] is special because: # At indices 0, 2, 4, 6, the numbers are 2, 4, 6, 6 (all even) # At indices 1, 3, 5, 7, the numbers are 7, 9, 1, 3 (all odd) is_special_array([2, 7, 4, 9, 6, 1, 6, 3]) # Returns: True # In the following list, the element at index 2 is odd, making the list not special. is_special_array([2, 7, 9, 1, 6, 1, 6, 3]) # Returns: False # In the following list, the element at index 3 is even, making the list not special. is_special_array([2, 7, 8, 8, 6, 1, 6, 3]) # Returns: False ```