def do_is_supertaggable(parser, token):
    """
    {% is_supertaggable obj %}
    
    Sets context variable "is_supertaggable" to True or False
    """
    try:
        tag_name, obj = token.split_contents()
    except ValueError:
        raise template.TemplateSyntaxError("%r tag requires exactly one argument" % token.contents.split()[0])
    return IsSupertaggableNode(obj)
dataset/ETHPy150Open callowayproject/django-supertagging/supertagging/templatetags/supertagging_tags.py/do_is_supertaggable/original