In a PSD > WP project that I recently completed, the requirement was to implement Tocbot on all Pages that use a specific Oxygen Template.
With a traditional theme-based approach we can use is_page_template( 'page-example.php') to target all Pages that use a page template so that wp_enqueue_script() can be called inside a if conditional.