docs: def status(name, sig=None):
      '''
      Return the status for a service.
      If the name contains globbing, a dict mapping service name to True/False
      values is returned.
  
      .. 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>
      '''
      contains_globbing = bool(re.search(r'\*|\?|\[.+\]', name))
      if contains_globbing:
          services = fnmatch.filter(get_all(), name)
      else:
          services = [name]
      results = {}
      for service in services:
          cmd = '/usr/bin/svcs -H -o STATE {0}'.format(service)
          line = __salt__['cmd.run'](cmd, python_shell=False)
          results[service] = line == 'online'
      if contains_globbing:
          return results
      return results[name]