def maybe_list(l, scalars=(Mapping, string_t)):
    return l if l is None or is_list(l, scalars) else [l]
Return list of one element if ``l`` is a scalar.
dataset/ETHPy150Open celery/kombu/kombu/utils/functional.py/maybe_list