def _isgroup(obj, *args, **kws):
    _larch = kws.get('_larch', None)
    if _larch is None:
        raise Warning("cannot run isgroup() -- larch broken?")
    stable = _larch.symtable
    if isinstance(obj, (str, unicode)) and stable.has_symbol(obj):
        obj = stable.get_symbol(obj)
    return isgroup(obj, *args)
Tries to match a route given an iterator.
dataset/ETHPy150Open xraypy/xraylarch/lib/builtins.py/_isgroup--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/webapp2-2.3/webapp2_extras/routes.py/_match_routes