Check if default sysimage is used

Is there a way to determine in Julia if the default system image or a custom system image is currently used?

To answer my own question: This command does the job:

Base.JLOptions().image_file_specified==1

If the default system image was used this value is zero.

2 Likes