public boolean isVariable() {
        return this.name != null;
    }
Determines if the value held by this object was defined as a variable or a literal value. Literal values simply
have no name.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/GValue.java