def listExtend(lst, items):
    """if lst is None, create a new list with items, otherwise extend with items.
    Returns list"""
    if lst is None:
        return list(items)
    else:
        lst.extend(items)
    return lst