wp_is_user_logged_in()
Twig function of the framework; its result is escaped like any value.
Whether the visitor is logged in, as returned by is_user_logged_in().
In a block with #[Cache], the cache must vary by LoggedInVary,
RoleVary or UserVary; otherwise the call throws an error.
Returns bool