Please help

I had sex on my period with a condom. It was worn the whole time and he pulled out. I checked the condom with water after we were through and no water leaked out of the condom at all, even when I forcefully squeezed in the condom with the water in it. Does that mean that no sperm was able to pass through and I don’t have to worry about being pregnant right now?