add method to check if a ReleaseId is referred to a snapshot