Thanks for the fix!
N.B. we already have isNotEmpty}}and {{isEmpty}}and other such optimised helpers in {{StringHelper, but it seems that indeed not all code was using these consistently.
Merged the PR.