Before I put a link in a script or a note, I want to know if it still works. Downloading the whole file just to find out is wasteful.
With --spider, wget behaves like a web spider: it doesn’t download the pages, it only checks that they are there.
wget --spider https://example.com/file.zip
The exit status tells the result (0 when the file exists, 8 when the server answers with an error such as a 404), so it fits in a shell condition. The manual even shows it checking a list of links from a bookmarks file:
wget --spider --force-html -i bookmarks.html
A caveat: the manual itself says this feature needs much more work to get close to real web spiders. A server that answers differently to this kind of request can give a false result, so treat a failure as a reason to look, not as proof.
Further reading: wget man page (Debian)