code: def status(name, sig=None):
      '''
      Return the status for a service via dummy, returns a bool
      whether the service is running.
  
      .. versionadded:: 2016.11.3
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' service.status <service name>
      '''
  
      proxy_fn = 'dummy.service_status'
      resp = __proxy__[proxy_fn](name)
      if resp['comment'] == 'stopped':
          return False
      if resp['comment'] == 'running':
          return Truf status(name, sig=None):
      '''
      Return the status for a service via dummy, returns a bool
      whether the service is running.
  
      .. versionadded:: 2016.11.3
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' service.status <service name>
      '''
  
      proxy_fn = 'dummy.service_status'
      resp = __proxy__[proxy_fn](name)
      if resp['comment'] == 'stopped':
          return False
      if resp['comment'] == 'running':
          return True
docs: Return the status for a service via dummy, returns a bool
      whether the service is running.
  
      .. versionadded:: 2016.11.3
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' service.status <service name>