Similarly, since this is used in a few places, I would rather see it extracted into a helper.