def listify(data):
    """
    Ensure data is a list

    Parameters
    ----------
    data : any
        The data to put into a list

    Returns
    -------
    list

    """
    if data is None:
        return data
    if isinstance(data, (set, list, tuple)):
        return list(data)
    return [data]
