frame-pointer-visible-p
frame-pointer-visible-p is a built-in function in `C source code
'.
(frame-pointer-visible-p &optional FRAME)
Return t if the mouse pointer displayed on FRAME is visible.
Otherwise it returns nil. FRAME omitted or nil means the
selected frame. This is useful when `make-pointer-invisible' is set.