def _convert_to_list(value):
    """Convert a value to a list if it's not already a list"""
    if value is None:  # empty value
        return []
    if not isinstance(value, list):
        return [value]  # single value
    return value