def listify(value):
if not isinstance(value, list):<EOL><INDENT>value = [value]<EOL><DEDENT>return value<EOL>
Ensures that the value is a list. If it is not a list, it creates a new list with `value` as an item.