presto-main/src/main/java/io/prestosql/server/protocol/Slug.java/Slug/isValid
class Slug:    public boolean isValid(Context context, String slug, long token)
    {
        return makeSlug(context, token).equals(slug);
    }