def ping(self):

        try:
            self.command("AT")
            return True

        except errors.GsmError:
            return None
The connection to the web server is closed when the request is done.
dataset/ETHPy150Open sahana/eden/modules/pygsm/gsmmodem.py/GsmModem.ping--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/test/test_xmlrpc.py/XMLRPCTestCase.test_closeConnectionAfterRequest