Variable isSnapshotConst

isSnapshot: boolean = ...

Check if we are synthesizing a snapshot by setting IS_SNAPSHOT environment variable to true.

This allows for special conditional logic that should only happen during snapshot creation.