def METHOD_NAME(
    self: SelfRectType,
    __l: Sequence[RectLike[SelfRectType]],
) -> Sequence[int]:
    return [
        i
        for i, rect in enumerate(__l)
        if intersect(self, type(self)(rect))
    ]