Sets a new value of the deletion flag. The deletion flag indicates whether the leader will be deleted after deleting the referenced entity (if true).