_User.isGuest() Suggest EditsTo check whether user is logged in or not. Example Usage TWIG{% if _User.isGuest() %} {{'User is logged in'}} {% endif %} Response Example Booleantrue Response Description ConditionResponseUser is a guest userTRUEUser is a registered user and has been already logged in.FALSEUpdated almost 5 years ago Table of Contents Example Usage Response Example Response Description