WordPress at a glance
function is not described

WP_Customize_Sidebar_Section::active_callback() public WP 4.1.0

Whether the current sidebar is rendered on the page.

{} It's a method of the class: WP_Customize_Sidebar_Section{}

No Hooks.

Return

true|false. Whether sidebar is rendered.

Usage

$WP_Customize_Sidebar_Section = new WP_Customize_Sidebar_Section();
$WP_Customize_Sidebar_Section->active_callback();

Changelog

Since 4.1.0 Introduced.

Code of WP_Customize_Sidebar_Section::active_callback() WP 5.7.2

<?php
public function active_callback() {
	return $this->manager->widgets->is_sidebar_rendered( $this->sidebar_id );
}