public String typeOf(final String name) {
        return ((Map<String,Object>) getBinding().getVariable("registry")).get(name).getClass().getSimpleName();
    }
@author Stephen Mallette (http://stephen.genoprime.com)
gremlin-groovy/src/test/java/org/apache/tinkerpop/gremlin/groovy/jsr223/BaseScriptForTesting.java