python: check the occurrences in a list against a value,len(set(lst)) == len(lst)