I am a former ground agent and current flight attendant, I can say this is 100% great advice. I have dealt with people who have had their bags lost somewhere along the way, often due to tight connections, and they have checked in things like medicine. I had one woman who had checked in her wallet and house keys!