public T get() {
        if (value == null)
            throw new NoSuchElementException("No value present");
        return value;
    }
Creates a new settable optional with the given value, or an empty
vespajlib/src/main/java/com/yahoo/lang/SettableOptional.java