code: def disabled(name):
      '''
      Check to see if the named service is disabled to start on boot
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' service.disabled <service name>
      '''
      if _service_is_upstart(name):
          return _upstart_is_disabled(name)
      else:
          if _service_is_sysv(name):
              return _sysv_is_disabled(name)
      return Nonf disabled(name):
      '''
      Check to see if the named service is disabled to start on boot
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' service.disabled <service name>
      '''
      if _service_is_upstart(name):
          return _upstart_is_disabled(name)
      else:
          if _service_is_sysv(name):
              return _sysv_is_disabled(name)
      return None
docs: Check to see if the named service is disabled to start on boot
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' service.disabled <service name>