code: def getDone(self, done):
          
  
          doneItems = self.noteDB['todo'] \
                          .find({"done": done}) \
                          .sort("date", pymongo.DESCENDING)
          IDs = [ii['ID'] for ii in doneItems]
          return IDs
docs: :desc: Fetches a list of all the done ToDs
              :param bool done: done or undone?
              :returns: A list of matching IDs
              :rval: list