code: def _get_last_snapshot(config='root'):
      '''
      Returns the last existing created snapshot
      '''
      snapshot_list = sorted(list_snapshots(config), key=lambda x: x['id'])
      return snapshot_list[-1f _get_last_snapshot(config='root'):
      '''
      Returns the last existing created snapshot
      '''
      snapshot_list = sorted(list_snapshots(config), key=lambda x: x['id'])
      return snapshot_list[-1]
docs: Returns the last existing created snapshot