Reference

XtIsTopLevelShell(3) on Linux

The text 81fb31cd915c, as Debian 4.0 (Etch) shipped it.

obtain and verify a widget's class

XtIsTopLevelShell(3) on Linux now