O(n)
function listMember<A> input A element; input List<A> lst; output Boolean isMember; end listMember;