human
Can you show me a Python function to if in array object not iterable.
assistant
Here is a Python function to if in array object is not iterable
from typing import Iterable

import collections

def if_not_iterable(obj):
    """
    Return True if obj is not iterable, False otherwise.
    """
    return not isinstance(obj, collections.abc.Iterable)

# Enter the array
a = [1, 2, 3]

# Calling the function
print((if_not_iterable(a)))

#Example Output
# False

#Remember to inspect code for bugs.