@register.assignment_tag(takes_context=True)
def get_object_visibility(context, obj):
    try:
        return obj.is_visible
    except __HOLE__:
        pass
    return True
dataset/ETHPy150Open tangentlabs/django-fancypages/fancypages/templatetags/fp_block_tags.py/get_object_visibility