field is_changed/2 function