# from django import template
#
# register = template.Library()
#
#
# @register.filter
# def check_login(request):
#     if request.user.is_authenticated():
#         return True
#     else:
#         return False
