Function: frame-root-window-p

Return non-nil if WINDOW is the root window of its frame.