public final void ifValid(Consumer<Inspector> consumer) {
        if (valid()) consumer.accept(this);
    }
Common implementation for all value types.
All default behavior is here, so specific types only
need override their actually useful parts

@author havardpe
vespajlib/src/main/java/com/yahoo/slime/Value.java