def check_spam(param, comment_type):
def wrapper(origin, request, *args, **kwargs):
if (request.POST and request.POST.get(param, None) and WORDPRESS_API_KEY) and (not request.user.is_authenticated()
def check_spam(param, comment_type):
def wrapper(origin, request, *args, **kwargs):
if (request.POST and request.POST.get(param, None) and WORDPRESS_API_KEY) and (not request.user.is_authenticated()