docs: def get_current_snapshot_name(vm):
          """
          Returns the name of the current snapshot
          :param vm: Virtual machine to find current snapshot name
          :return: Snapshot name
          :rtype str
          """
          all_snapshots = SnapshotRetriever.get_vm_snapshots(vm)
          # noinspection PyProtectedMember
          if not vm.snapshot:
              return None
          current_snapshot_id = vm.snapshot.currentSnapshot._moId
          for snapshot_name in all_snapshots.keys():
              # noinspection PyProtectedMember
              if all_snapshots[snapshot_name]._moId == current_snapshot_id:
                  return snapshot_name
          return None