I know cats have an instinctive “teleporting” reaction to the visual cue of a snake and wondered if dogs might have it too. You can test it with cats by sticking a zucchini or cucumber behind them while they are focused on eating, as soon as they turn and spot the “snake” they are airborne. I recall watching a PBS documentary on the Namib Desert that showed an African wildcat, from whom modern domestic cats are all descended and which looked just like a standard household tabby, stalking and attacking a venomous viper, repeatedly dashing at it and slashing, then leaping away. Apparently wild cats are experts at killing, and eating, venomous snakes and are hardwired to react to them.
Lots of YouTube documentation of this – this one is short and representative (mute the stupid music) and at 2:30 one of the moggies actually “kills” and eats the offending vegetable.