public static boolean instanceOfNumber(final Object o) {
        return o instanceof Number || valueInstanceOfNumeric(o);
    }
Returns {@code true} if the object is a number or a {@link GValue} that contains a number.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/GValue.java