presto-resource-group-managers/src/main/java/io/prestosql/plugin/resourcegroups/ResourceGroupNameTemplate.java/NameFragment/isVariable
class NameFragment:        public boolean isVariable()
        {
            return variable != null;
        }