code: def find_one_and_delete(self, filter,
                              projection=None, sort=None, session=None, **kwargs):
          kwargs['remove'] = True
          return self.__find_and_modify(filter, projection, sort,
                                        session=session, **kwargs)