@Override
    public boolean test(final V testValue) {
        // this might be a bunch of GValue that need to be resolved. zomg
        if (this.value instanceof List) {
            return this.biPredicate.test(testValue, (V) ((List) this.value).stream().map(GValue::valueOf).collect(Collectors.toList()));
        } else {
            return this.biPredicate.test(testValue, (V) GValue.valueOf(this.value));
        }
    }
Gets the current value to be passed to the predicate for testing.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/P.java