def is_iterable(obj):
    """Return True if the object is a list or a tuple.
    
    Parameters
    ----------
    obj : list or tuple
        Object to be tested.
    
    Returns
    -------
    bool
        True if the object is a list or a tuple.
    """
    return isinstance(obj, list) or isinstance(obj, tuple)