I believe there's `helper.isFunction`, use that