Researchers have found a new way to see if an autism treatment is working