This internal function filters out elements from a list that are empty lists.
remove_empty_lists(lst)
lst
A list to be processed.
A list with empty lists removed.