<filename>utils.py
from typing import Iterable

def iterable(obj):
    return isinstance(obj, Iterable)
<filename>utils.py
from typing import Iterable

def iterable(obj):
    return isinstance(obj, Iterable)