

def is_backup_running(self, name=None, agent=None):
    'See :func:`burpui.misc.backend.interface.BUIbackend.is_backup_running`'
    if (not name):
        return False
    try:
        filemap = self.status('c:{0}\n'.format(name))
    except BUIserverException:
        return False
    for line in filemap:
        reg = re.search('^{0}\\s+\\d\\s+(\\w)'.format(name), line)
        if (reg and (reg.group(1) not in ['i', 'c', 'C'])):
            return True
    return False

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