

def isRunning(self):
    '\n        Returns true if the server is running, false otherwise\n        '
    try:
        response = self.ping()
        if (msg.status_code != self.pingStatusCode):
            msg = 'Ping of server returned unexpected status code ({})'.format(response.status_code)
            assert False, msg
        return True
    except requests.ConnectionError:
        return False

dataset/ETHPy150Open ga4gh/server/tests/end_to_end/server.py ServerForTesting.isRunning/VarMisuse@26/53 `response`->`msg`