personally, i follow two rules for if something should be in a helper:

* will the code be more easily understand by a reader if you add the helper?
* does adding the helper reduce redundancy?

In this case, turning that code into a helper will not do either. It will not reduce redundancy and it will make the code more difficult to understand. 

because of this, i think it would be a very bad idea to create helpers out of that code. i believe that helpers should be used where it actually helps.