yes, it is in the environment:
$ sudo snap install hello-world
...
$ hello-world.env |grep SNAP
SNAP_USER_COMMON=/home/ogra/snap/hello-world/common
SNAP_CONTEXT=smpRsTNltk8XfDFcrcBDTkvskgqW4qXWTSjP5g6D0B8P
SNAP_LIBRARY_PATH=/var/lib/snapd/lib/gl:
SNAP_COMMON=/var/snap/hello-world/common
SNAP_USER_DATA=/home/ogra/snap/hello-world/27
SNAP_DATA=/var/snap/hello-world/27
SNAP_REVISION=27
SNAP_NAME=hello-world
SNAP_COOKIE=smpRsTNltk8XfDFcrcBDTkvskgqW4qXWTSjP5g6D0B8P
SNAP_ARCH=amd64
SNAP_VERSION=6.3
SNAP=/snap/hello-world/27
$