display-mouse-p
display-mouse-p is a compiled Lisp function in `frame.el
'.
(display-mouse-p &optional DISPLAY)
Return non-nil if DISPLAY has a mouse available.
DISPLAY can be a display name, a frame, or nil (meaning the selected
frame's display).