def ping(self):
        m = paramiko.Message()
        m.add_byte(struct.pack('b', paramiko.common.MSG_GLOBAL_REQUEST))
        m.add_string('keepalive@openssh.com')
        m.add_boolean(True)
        self.transport._send_user_message(m)
        self.transport.completion_event.wait(0.1)
        if self.transport.completion_event.is_set():
            self.transport.completion_event.clear()
            self.pending_count = 0
            return True
        self.pending_count += 1
        if self.pending_count < self.threshold:
            raise ServerNotResponding(self.transport.getName())
        return False
dataset/ETHPy150Open radssh/radssh/radssh/keepalive.py/KeepAlive.ping/operator `>` -> `<`