:: Eq a => [a] -> a -> Bool -package:hedgehog -package:stack is:exact -package:xmonad-contrib -package:prelude-compat package:base-prelude

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