there is a method `current_user_or_visitor`  which might be used here.
you would have to add a method the the `LoggedOutUser` class