I'm not really asking about its function, more its location. I figured stuff like that belonged in /lib/ utility code so it could be reused consistently across the codebase.
Basically I'm not a great programmer so when I see stuff that I am unsure of, I ask so I can learn.
Basically I'm not a great programmer so when I see stuff that I am unsure of, I ask so I can learn.