code: def get_last_doc(self):
          
          return max(self.doc_dict.values(), key=lambda x: x.ts).meta_dict
docs: Searches through the doc dict to find the document that was
          modified or deleted most recently.