Like a literacy test?
https://www.crmvet.org/info/lithome.htm#litbkgnd
Sorry for the snark, it's just a very hard problem because we'd end up in a situation where the voters would decide who is part of their club.