def _strip_list(list):
    """
    strips all empty elements from a list, returns the stripped list
    :param list: the list to be stripped
    :return: the stripped list
    """
    return [x for x in list if x]