Success: atom(atom). atom('Anything'). atom(*). atom([]). atom(#). atom($). atom(/). atom(\). Fail: atom(1). atom(this(is,a,structure)). atom(X).