

    @support_annotation_or_set
    def isendingwith(self, start: int, end: int) -&gt; bool:
        &#34;&#34;&#34;
        Checks if this span is ending at the same offset as the given span or annotation.

        Args:
            start: start of the span (ignored)
            end: end of the span

        Returns:
            True if ending at the same offset as the span or annotation

        &#34;&#34;&#34;
        return self.end == end

    @support_annotation_or_set
    def isleftoverlapping(self,