       return self.start &lt;= start &lt; self.end
    return self.start &lt;= start and self.end &gt;= end</code></pre>
</details>
</dd>
<dt id="gatenlp.span.Span.isendingwith"><code class="name flex">
<span>def <span class="ident">isendingwith</span></span>(<span>self, start: int, end: int) ‑> bool</span>
</code></dt>
<dd>
<div class="desc"><p>Checks if this span is ending at the same offset as the given span or annotation.</p>
<h2 id="args">Args</h2>
<dl>
<dt><strong><code>start</code></strong></dt>