def is_server_live(self)

函数功能

判断服务状态是否正常。

函数原型

def is_server_live(self)

返回值

bool对象,表示服务状态是否正常,如果返回True,则表示正常。