problem with some views without sessions y other with sessions

hello ... I am currently developing a login and i need to validate in some views that don't exists session variable. I was thinking to create two controllers, one to manage sessions, ACL .... and another to handle views that do not have sessiones... I don't know if exist other method for to do this. what recommend me ?

If you are using Volt:

{% if session.has('something') %}
{% endif %}