check whether elements in list `a` appear only once,len(set(a)) == len(a)