Add method to tell if diff has changes