Util.isReified: make it work with null values