Fwiw, this "checkNotNull" isn't really testing the validity of the value, just that it's non-null.