def clean_data(data: dict) ->dict:
    """Removes all empty values and converts tuples into lists"""
    new_data = {}
    for key, value in data.items():
        if not isinstance(value, bool) and not value:
            continue
        if isinstance(value, tuple):
            value = list(value)
        new_data[key] = value
    return new_data
