Waits maximum of 5 minutes for orted process to start

def _orted_process():
    """Waits maximum of 5 minutes for orted process to start"""
    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)