private static boolean inImageBuildTimeCode() {
        return PROPERTY_IMAGE_CODE_VALUE_BUILDTIME.equals(System.getProperty(PROPERTY_IMAGE_CODE_KEY));
    }
Returns true if (at the time of the call) code is executing in the context of image building
(e.g. in a static initializer of class that will be contained in the image).
api/cas-server-core-api-util/src/main/java/org/apereo/cas/util/nativex/CasRuntimeHintsRegistrar.java