The function delivered-image-p
returns true if the running image is a delivered image, that is an executable or dynamic library created by deliver.
Otherwise the running image is a LispWorks development image (potentially a Saved Session or saved explicitly by save-image) and then result is false.
LispWorks User Guide and Reference Manual - 20 Sep 2017