List sidebars on a page

There actually are filters coming with WP 3.9+:

  • do_action( 'dynamic_sidebar_before', $index, false );
  • do_action( 'dynamic_sidebar_after', $index, false );
  • apply_filters( 'dynamic_sidebar_has_widgets', false, $index );

The 2nd argument indicates if the sidebar has widgets.

Current workaround: Hook into sanitize_title() as this will hold the current sidebar name/ID. Then hook into wp_get_sidebars_widgets() as this is where you already got the name and know if there are widgets or not.