presto-main/src/main/java/io/prestosql/server/protocol/Query.java/Query/isSlugValid
class Query:    public boolean isSlugValid(String slug, long token)
    {
        return this.slug.isValid(EXECUTING_QUERY, slug, token);
    }