Use ImageInstanceQ[image, object], where image is the image and object is "caprine animal". [0] [1]
[0] https://reference.wolfram.com/language/ref/ImageInstanceQ.ht...
[1] https://codegolf.stackexchange.com/questions/71631/upgoat-or...
On the one hand, it's perfectly built to spec and satisfied all requirements given by the customer.
On the other hand, you know it's incredibly fragile, and that the customer actually wants something different.