

def is_one_backup_running(self, agent=None):
    'See :func:`burpui.misc.backend.interface.BUIbackend.is_one_backup_running`'
    res = []
    try:
        cls = self.get_all_clients()
    except BUIserverException:
        return res
    for cli in cls:
        if self.is_backup_running(cli['name']):
            res.append(cli['name'])
    self.running = res
    self.refresh = time.time()
    return res

dataset/ETHPy150Open ziirish/burp-ui/burpui/misc/backend/burp1.py Burp.is_one_backup_running/original