Why not `gav.isSnapshot()` instead?
https://github.com/sonatype/nexus-oss/blob/master/components/nexus-core/src/main/java/org/sonatype/nexus/proxy/maven/gav/Gav.java#L200