code: def service_up(s_name, **connection_args):
      '''
      Checks if a service is UP
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' netscaler.service_up 'serviceName'
      '''
      service = _service_get(s_name, **connection_args)
      return service is not None and service.get_svrstate() == 'UPf service_up(s_name, **connection_args):
      '''
      Checks if a service is UP
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' netscaler.service_up 'serviceName'
      '''
      service = _service_get(s_name, **connection_args)
      return service is not None and service.get_svrstate() == 'UP'
docs: Checks if a service is UP
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' netscaler.service_up 'serviceName'