renamed isModified method for the sake of clarity