code: def reindex_needed(self) -> bool:
      runs_with_progress = os.listdir(self.progress_dir)
      return len(runs_with_progress) > 0
  
imports: import contextlib
  import time
  import datetime
  import pytz
  import logging
  import os
  from threading import Thread
  from pathlib import Path
  from typing import Iterable
  from aim.sdk.repo import Repo
  from aim.sdk.run_status_watcher import Event
  from aim.storage.locking import RefreshLock
label_desc: Use image node_id 4 for calling the RepoIndexManager obj's underlying member method code with example usage: obj.reindex_needed() and returns: unknown