Can I initialize some variable in product controller product.php, then load it to header controller header.php and use it in view header.twig, to load certain information based on this variable? If not, how can I determine whether the page with the product is open or not?