public default boolean isImmutable() {
        return false;
    }
A minimal {@link Serializer}-like abstraction. See that class for method documentation.

@param <T> the class this serializer reads/writes from/to bytes.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/gryo/kryoshim/SerializerShim.java