I don't think that it is the heat signature that gives you away.

Probably the vibrations from the floor transferring into the enclosure that warn the snake that there is something comming.

Snakes are far smarter that Sharks. Sharks cannot even discern food from non-food -- they eat everything.