code: def distinct(self, key):
          
          return set(d[key] for d in filter(lambda d: key in d, self.find()))
docs: Get a set of distinct values for the given key excluding an implicit
          None for documents that do not contain the key