X Interview Question

Determine if an element exists in a list.