check if the snap exists