Is there a method to Check if an Image ID is deleted?

They aren’t always named “[ Content Deleted ]”, though it does show the sign of it, i made my script to check if the AssetType is an Image and that it previews the ID through an image, unfortunately the Asset is deleted and prints out the error in Console saying that “Failed to load Image” / “Request Failed”. You can still get this if your Internet is Slow but i wanna know if i can help that
…or if there would be a way to hide the error coming from the Preview for the very least