hasPointerCapture

The hasPointerCapture() method of the pointer capture for the pointer identified by the given pointer ID.

MDN Reference