def is_lazy_user(user):
    """ Return True if the passed user is a lazy user. """
    if user.is_anonymous:
        return False
    backend = getattr(user, 'backend', None)
    if backend == 'lazysignup.backends.LazySignupBackend':
        return True
    from lazysignup.models import LazyUser
    return bool(LazyUser.objects.filter(user=user).count() > 0)
