def to_list(lst):
    """Make sure the object is wrapped in a list

    :return: a ``list`` object, either lst or lst in a list
    """
    if isinstance(lst, str):
        lst = [lst]
    elif not isinstance(lst, list):
        try:
            lst = list(lst)
        except TypeError:
            lst = [lst]
    return lst