window--side-window-p

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

(window--side-window-p WINDOW)

Return non-nil if WINDOW is a side window or the parent of one.