Pets and labour

Do you think your pets know when you’re about to go into labour?

With my first born my dogs were laying on the bed with me and I’d been having a few contractions. One of my dogs shifted to lay down between my legs and I had to move him because I was trying to sleep. As I tried to lay back down my water broke. I’ve always wondered if they knew because they were very clingy all day prior to that.