These standardized functions are meant to be used in any level of the API call (policies, controllers, etc).
See: https://sailsjs.com/documentation/concepts/helpers