def is_lazy_user(user):
<EOL>if user.is_anonymous:<EOL><INDENT>return False<EOL><DEDENT>backend = getattr(user, '<STR_LIT>', None)<EOL>if backend == '<STR_LIT>':<EOL><INDENT>return True<EOL><DEDENT>from lazysignup.models import LazyUser<EOL>return bool(LazyUser.objects.filter(user=user).count() > <NUM_LIT:0>)<EOL>
Return True if the passed user is a lazy user.