code: public static boolean isSnapshot(Version version)
     {
        Assert.notNull(version, "Version must not be null.");
        return version.toString().endsWith(SNAPSHOT_SUFFIX);
     }
docs: Returns if the version specified is a SNAPSHOT
  
  @param version cannot be null
  @return true if the version is a SNAPSHOT, false otherwise