fn weighted_arg_mutation( rng: &mut impl Rng, distribution: Option<&WeightedIndex<u32>>, ) -> Option<bool>