win32gui.IsChild
IsChild(hWndParent, hWnd)
Tests whether a window is a child window or descendant window of a specified parent window
Parameters
IsChild(hWndParent, hWnd)
Tests whether a window is a child window or descendant window of a specified parent window