Add convenience function for checking whether changes were made