If you find TAppMessage.am_Version >= AM_VERSION, you know this structure has at least the fields defined in this version of the include file
Source position: workbench.pas line 179
const AM_VERSION = 1;