:: Eq a => [a] -> a -> Bool -package:hedgehog -package:Agda -package:Cabal -package:hledger -package:generic-deriving package:mixed-types-num

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