Simple plumbing question

I happened to be in the basement of my parents’ house when one of the washing machine hoses burst unexpectedly, and it spewed a lot of water until I turned off the valve. I heard someplace, possibly This Old House, that burst washing machine hoses are the cause of many insurance claims. So actually in addition to proactively replacing the washer hoses, I think it’s recommended to shut off the hot and cold faucets when the washer isn’t in use. There are gizmos that go between the faucet and the hoses that make it easy to turn the faucets off or on, and even automatic gizmos that only open the faucets when the washing machine starts.