:: Eq a => [a] -> a -> Bool -package:hedgehog -package:data-ordlist -package:rio -package:generic-deriving -package:cabal-install-solver package:base-prelude

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