code: def refresh_until_populated(self, retries: int = 10) -> bool:
      while retries > 0:
          retries -= 1
          if len(self.ids) > 0:
              return True
          sleep(0.5)
          self.refresh()
      print("self.ids remains empty")
      return False
  
file_path: determined/e2e_tests/tests/cluster/test_job_queue.py
imports: import subprocess
  from time import sleep
  from typing import Dict, List, Tuple
  import pytest
  from tests import config
  from tests import experiment
label_desc: Use image node_id 3 for calling the JobInfo obj's underlying member method code with example usage: obj.refresh_until_populated(retries) and returns: False, True