def METHOD_NAME(coll):
    for i in coll:
            if isinstance(i, Iterable) and not isinstance(i, basestring):
                for subc in METHOD_NAME(i):
                    if subc:
                        yield subc
            else:
                yield i