:: Eq a => [a] -> a -> Bool -package:base -package:rio -package:hledger -package:cabal-install package:dimensional

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