It would be handy to extract this into utils as a function called "excludes"...it's a generically useful predicate!