I would extract this to a separate helper method, but not a big deal.