window--frame-usable-p

window--frame-usable-p is a compiled Lisp function in `window.el'.

(window--frame-usable-p FRAME)

Return FRAME if it can be used to display a buffer.