presto-main/src/main/java/io/prestosql/type/TypeUtils.java/TypeUtils/checkElementNotNull
class TypeUtils:    public static void checkElementNotNull(boolean isNull, String errorMsg)
    {
        if (isNull) {
            throw new PrestoException(NOT_SUPPORTED, errorMsg);
        }
    }