def make_iter(obj):
    return not hasattr(obj, '__iter__') and [obj] or obj
Emits collapse event.
dataset/ETHPy150Open evennia/evennia/evennia/utils/utils.py/make_iter--crossover with--dataset/ETHPy150Open rwl/muntjac/muntjac/ui/tree.py/Tree.fireCollapseEvent