code: def last_bookmark(bookmarks):
      
      last = None
      for bookmark in bookmarks:
          if last is None:
              last = bookmark
          else:
              last = _last_bookmark(last, bookmark)
      return last
docs: The bookmark returned by the last :class:`.Transaction`.