@Rana Unfortunately, there might not always be an easy way to tell.
However, I would suggest checking for a description of the camera settings used for the photo. I've seen a few posts that say something like "flash", "flash triggered", "TTL flash" or "Strobe"
Sharing this information, educating people, and hopefully preventing future animal harm is the most helpful thing we can do to be animal allies in my opinion.