def server_enabled(s_name, **connection_args):
    server = _server_get(s_name, **connection_args)
    return server is not None and server.get_state() == 'ENABLED'
Check if a server is enabled globally
dataset/ETHPy150Open saltstack/salt/salt/modules/netscaler.py/server_enabled