:: Eq a => [a] -> a -> Bool -package:basic-prelude -package:Cabal -package:hledger -package:cabal-install package:base-prelude

Does the element occur in the structure?
notElem is the negation of elem.