human
How to check whether elements appears in the list only once in python?
assistant
Here is some code to check whether elements in list `a` appear only once

len(set(a)) == len(a)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.