protected function _is_root_template() {
		$hierarchy = [];

		/**
		 * @deprecated
		 */
		$root = apply_filters(
			'inc2734_view_controller_template_part_root',
			'',
			$this->slug,
			$this->name,
			$this->vars
		);

		if ( $root ) {
			$hierarchy[] = $root;
		}

		$hierarchy = apply_filters(
			'inc2734_view_controller_template_part_root_hierarchy',
			$hierarchy,
			$this->slug,
			$this->name,
			$this->vars
		);
		$hierarchy = array_unique( $hierarchy );

		foreach ( $hierarchy as $root ) {
			$is_root = $this->_is_root( $root );
			if ( $is_root ) {
				return $is_root;
			}
		}

		return false;
	}