fn has_leader_changed( region_route: &RegionRoute, from_peer_id: u64, ) -> Result<bool>
Returns true if the leader peer of the region has changed.