minibuffer-window-active-p

minibuffer-window-active-p is a compiled Lisp function in `window.el'.

(minibuffer-window-active-p WINDOW)

Return t if WINDOW is the currently active minibuffer window.