code: def file_present(container, name, path, profile, overwrite_existing=False):
      '''
      Ensures a object is downloaded locally.
  
      :param container: Container name
      :type  container: ``str``
  
      :param name: Object name in cloud
      :type  name: ``str``
  
      :param path: Local path to file
      :type  path: ``str``
  
      :param profile: The profile key
      :type  profile: ``str``
  
      :param overwrite_existing: Replace if already exists
      :type  overwrite_existing: ``bool``
      '''
      result = __salt__['libcloud_storage.download_object'](path, container, name, profile, overwrite_existing)
      return state_result(result, "Downloaded object", name, {}f file_present(container, name, path, profile, overwrite_existing=False):
      '''
      Ensures a object is downloaded locally.
  
      :param container: Container name
      :type  container: ``str``
  
      :param name: Object name in cloud
      :type  name: ``str``
  
      :param path: Local path to file
      :type  path: ``str``
  
      :param profile: The profile key
      :type  profile: ``str``
  
      :param overwrite_existing: Replace if already exists
      :type  overwrite_existing: ``bool``
      '''
      result = __salt__['libcloud_storage.download_object'](path, container, name, profile, overwrite_existing)
      return state_result(result, "Downloaded object", name, {})
docs: Ensures a object is downloaded locally.
  
      :param container: Container name
      :type  container: ``str``
  
      :param name: Object name in cloud
      :type  name: ``str``
  
      :param path: Local path to file
      :type  path: ``str``
  
      :param profile: The profile key
      :type  profile: ``str``
  
      :param overwrite_existing: Replace if already exists
      :type  overwrite_existing: ``bool``