Question about SDL2 window

Hi, I would like to know how I know if the window is under other window? This is, when it is “overwrite” for other maximized window. Is it possible only using SDL2?------------------------
My project