theme.inc::template_preprocess_html checking visibilitiy of regions using has_render_content().