display-popup-menus-p
display-popup-menus-p is a compiled Lisp function in `frame.el
'.
(display-popup-menus-p &optional DISPLAY)
Return non-nil if popup menus are supported on DISPLAY.
DISPLAY can be a display name, a frame, or nil (meaning the selected
frame's display).
Support for popup menus requires that the mouse be available.