Fix to use isSnapshot
Merge pull request #59 from h-ikio/fix-issnapshot

Fix to use isSnapshot