> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # hasSection > Check if a top-level section with the given title exists. Check if a top-level section with the given title exists. ## **Parameters** **`title`** `string` — required Section title to check. --- ## **Returns** `boolean` -- `true` if the section exists, `false` otherwise. ## **Example** ```typescript {6} import { PomBuilder } from '@signalwire/sdk'; const pom = new PomBuilder(); pom.addSection('Role', { body: 'You are a helpful assistant.' }); console.log(pom.hasSection('Role')); // true console.log(pom.hasSection('Missing')); // false ``` > Check if a top-level section with the given title exists.