'Split a list on comma separator and merge resulting lists
into an uniq list then return it'

def split_and_merge(self, list, split=True):

    res = []
    for elt in list:
        if split:
            res += elt.split(',')
        else:
            res += elt
    return res
