def is_backup_running(self, name=None, agent=None):
        if not name:
            return False
        try:
            query = self.status('c:{0}\n'.format(name))
        except BUIserverException:
            return False
        if not query:
            return False
        try:
            return query['clients'][0]['run_status'] in ['running']
        except KeyError as e:
            self._logger('warning', 'Client not found')
            return False
        return False
URL-encodes a unicode string to be sent to B2 in an HTTP header.
dataset/ETHPy150Open ziirish/burp-ui/burpui/misc/backend/burp2.py/Burp.is_backup_running--crossover with--dataset/ETHPy150Open Backblaze/B2_Command_Line_Tool/b2/utils.py/b2_url_encode