code: def has_matching_etag(remote_storage, source_storage, path, prefixed_path):
      
      storage_etag = get_etag(remote_storage, path, prefixed_path)
      local_etag = get_file_hash(source_storage, path)
      return storage_etag == local_etag
docs: Compare etag of path in source storage with remote.