xref-location-list-p

xref-location-list-p is a Lisp function.

(xref-location-list-p OBJ)

Test OBJ to see if it a list of objects which are a child of type xref-location