code: def servicegroup_server_up(sg_name, s_name, s_port, **connection_args):
      '''
      Check if a server:port combination is in state UP in a servicegroup
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' netscaler.servicegroup_server_up 'serviceGroupName' 'serverName' 'serverPort'
      '''
      server = _servicegroup_get_server(sg_name, s_name, s_port, **connection_args)
      return server is not None and server.get_svrstate() == 'UPf servicegroup_server_up(sg_name, s_name, s_port, **connection_args):
      '''
      Check if a server:port combination is in state UP in a servicegroup
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' netscaler.servicegroup_server_up 'serviceGroupName' 'serverName' 'serverPort'
      '''
      server = _servicegroup_get_server(sg_name, s_name, s_port, **connection_args)
      return server is not None and server.get_svrstate() == 'UP'
docs: Check if a server:port combination is in state UP in a servicegroup
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' netscaler.servicegroup_server_up 'serviceGroupName' 'serverName' 'serverPort'