def flatten(lst_of_lst):
    """ Flatten list of list objects.
    """
    lst = []
    for l in lst_of_lst:
        if isinstance(l, list):
            lst += flatten(l)
        else:
            lst.append(l)
    return lst