:: Eq a => [a] -> a -> Bool -package:hedgehog -package:stack -package:rio -package:hledger package:base-prelude

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