def deep_flatten(nested_object):
    """ flatten a nested list of object into a simple list """
    result = []
    for ob in nested_object:
        if isinstance(ob, (list, tuple, set)):
            result += deep_flatten(ob)
        else:
            result.append(ob)

    return result