from typing import List


def filter_list(unfiltered_list: List) -> List:
    """Filters empty lists and None's out of a list.

    :param unfiltered_list: A list to filter.
    :return: A list containing no empty lists or None's
    """
    filtered_list = [element for element in unfiltered_list
                     if element != [] and element is not None]
    return filtered_list