The first study of its kind suggests that strict laws restricting junk food sales in schools may actually be working.