from typing import Iterable


def is_iterable(x):
    """
    Utility function to check if input can be iterated over (that is, if input is a List, np.array, pd.date_range, etc.)
    """
    return isinstance(x, Iterable)