code: def reset_catalog():
      '''
      .. versionadded:: 2016.3.0
  
      Reset the Software Update Catalog to the default.
  
      :return: True if successful, False if not
      :rtype: bool
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' softwareupdates.reset_catalog
      '''
      # This command always returns an error code, though it completes
      # successfully. Success will be determined by making sure get_catalog
      # returns 'Default'
      cmd = ['softwareupdate', '--clear-catalog']
  
      try:
          salt.utils.mac_utils.execute_return_success(cmd)
      except CommandExecutionError as exc:
          pass
  
      return get_catalog() == 'Defaultf reset_catalog():
      '''
      .. versionadded:: 2016.3.0
  
      Reset the Software Update Catalog to the default.
  
      :return: True if successful, False if not
      :rtype: bool
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' softwareupdates.reset_catalog
      '''
      # This command always returns an error code, though it completes
      # successfully. Success will be determined by making sure get_catalog
      # returns 'Default'
      cmd = ['softwareupdate', '--clear-catalog']
  
      try:
          salt.utils.mac_utils.execute_return_success(cmd)
      except CommandExecutionError as exc:
          pass
  
      return get_catalog() == 'Default'
docs: .. versionadded:: 2016.3.0
  
      Reset the Software Update Catalog to the default.
  
      :return: True if successful, False if not
      :rtype: bool
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' softwareupdates.reset_catalog