Yes, one of the theories behind THC production is the taste/smell is supposed to repel predators. I think getting the male pollen to stick to the flowers is the main purpose but I've heard many critters won't eat mature buds.