That statement really intrigued me. Since I like goats, I
had to know how to do this.
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...