Validate Magic List

Develop a function that checks if a Python list is 'magic'—with even indices holding even numbers, and odd indices featuring odd numbers.

In Python, a list is categorized as a '**magic list**' if the numbers at even indices are even numbers, and the numbers at odd indices are odd numbers. Your task is to construct a function called `is_magic()`. This function should receive a list for its input and return `True` if the list verifies the 'magic list' property or `False` otherwise. ### Parameters - `num_list`: This is the Python list that needs to be scrutinized. ### Return Value - If the `num_list` verifies the 'magic list' property, return `True`. - If the `num_list` doesn't verify the 'magic list' property, return `False`. ### Examples ```python # Given list: Even indices: [2, 4, 6, 6]; Odd indices: [7, 9, 1, 3] is_magic([2, 7, 4, 9, 6, 1, 6, 3]) # True # Odd number is present at index 2. Hence it isn't a magic list. is_magic([2, 7, 9, 1, 6, 1, 6, 3]) # False # Even number is present at index 3. Hence it isn't a magic list. is_magic([2, 7, 8, 8, 6, 1, 6, 3]) # False ```