xselect--selection-bounds

xselect--selection-bounds is a compiled Lisp function in `select.el'.

(xselect--selection-bounds VALUE)

Return bounds of X selection value VALUE.
The return value is a list (BEG END BUF) if VALUE is a cons of
two markers or an overlay. Otherwise, it is nil.