That’s really not that smart. Perhaps that would work with newborns, unable to do much, but anything much older will work and reach to get that purse-—and whatever might be inside-—medications? Pretty dangerous.
I remember reading about a device that you can attach to either your child or to a stroller/car seat, and it has a another device that attaches to your keyring or to your purse. If you move the devices too far apart, it start to beep, alerting you. Great for wandering kids, too.