That is true. I know your comment was intended as sarcasm, but, whether it's law or not (and I agree that it shouldn't be), a parent probably would have the gun under lock and key if a very young child is in the house.
Actually, they would have it loaded and ready to rock in a quick access handgun safe. Takes maybe two or three seconds to open one in an emergency, and is childproof.