code: def _orted_process():
      
      for i in range(5 * 60):
          procs = [p for p in psutil.process_iter(attrs=['name']) if p.info['name'] == 'orted']
  
          if procs:
              return procs
          time.sleep(1)
docs: Waits maximum of 5 minutes for orted process to start