@register.function
@jinja2.contextfunction
def remora_url(context, url, lang=None, app=None, prefix=''):
    if lang is None:
        _lang = context['LANG']
        if _lang:
            lang = to_locale(_lang).replace('_', '-')
    if app is None:
        try:
            app = context['APP'].short
        except (AttributeError, KeyError):
            pass
    return urlresolvers.remora_url(url=url, lang=lang, app=app, prefix=prefix)
>>> is_scalar_for_elemwise(42)
dataset/ETHPy150Open mozilla/addons-server/src/olympia/amo/helpers.py/remora_url--crossover with--dataset/ETHPy150Open dask/dask/dask/array/core.py/is_scalar_for_elemwise