Velocity has a feature that allows calling List methods on arrays.
I tried doing that on a String array.
"data" has a method:
When I try this for localeStr = null, the "empty" is returning false. On the other hand when I replace it with "isEmpty()" it correctly returns true.