:: Eq a => [a] -> a -> Bool -package:mixed-types-num -package:ghc -package:hledger -package:protolude package:base-prelude

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