docs: def status(name, sig=None):
      '''
      Return the status for a service via rest_sample.
      If the name contains globbing, a dict mapping service name to True/False
      values is returned.
  
      .. versionadded:: 2015.8.0
  
      .. versionchanged:: 2018.3.0
          The service name can now be a glob (e.g. ``salt*``)
  
      Args:
          name (str): The name of the service to check
          sig (str): Not implemented
  
      Returns:
          bool: True if running, False otherwise
          dict: Maps service name to True if running, False otherwise
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' service.status <service name>
      '''
  
      proxy_fn = 'rest_sample.service_status'
      contains_globbing = bool(re.search(r'\*|\?|\[.+\]', name))
      if contains_globbing:
          services = fnmatch.filter(get_all(), name)
      else:
          services = [name]
      results = {}
      for service in services:
          resp = __proxy__[proxy_fn](service)
          if resp['comment'] == 'running':
              results[service] = True
          else:
              results[service] = False
      if contains_globbing:
          return results
      return results[name]