from typing import Iterable


def is_iter(obj):
    """
    Check if an object is an iterable.

    Args:
        obj: Object

    Returns:
        boolean
    """
    return isinstance(obj, Iterable) and not isinstance(obj, str)