This event occurs when the menu is loaded, making it possible to perform some validations.
For example, validation can be performed on a session variable defined when logging into the system, thus avoiding direct access to the menu application.
if( !isset([var_id_usu]) or empty([var_id_usu]) ) {
sc_redirect("login.php");
}