Reference

XtIsTopLevelShell(3) on Linux

The text 1643a7093f13, as Debian 7 (Wheezy) shipped it.

obtain and verify a widget's class

XtIsTopLevelShell(3) on Linux now