code: def schedule_enabled():
      '''
      Check the status of automatic update scheduling.
  
      :return: True if scheduling is enabled, False if disabled
  
      :rtype: bool
  
      CLI Example:
  
      .. code-block:: bash
  
         salt '*' softwareupdate.schedule_enabled
      '''
      cmd = ['softwareupdate', '--schedule']
      ret = salt.utils.mac_utils.execute_return_result(cmd)
  
      enabled = ret.split()[-1]
  
      return salt.utils.mac_utils.validate_enabled(enabled) == 'onf schedule_enabled():
      '''
      Check the status of automatic update scheduling.
  
      :return: True if scheduling is enabled, False if disabled
  
      :rtype: bool
  
      CLI Example:
  
      .. code-block:: bash
  
         salt '*' softwareupdate.schedule_enabled
      '''
      cmd = ['softwareupdate', '--schedule']
      ret = salt.utils.mac_utils.execute_return_result(cmd)
  
      enabled = ret.split()[-1]
  
      return salt.utils.mac_utils.validate_enabled(enabled) == 'on'
docs: Check the status of automatic update scheduling.
  
      :return: True if scheduling is enabled, False if disabled
  
      :rtype: bool
  
      CLI Example:
  
      .. code-block:: bash
  
         salt '*' softwareupdate.schedule_enabled