presto-hive/src/main/java/io/prestosql/plugin/hive/HiveSessionProperties.java/HiveSessionProperties/getOrcOptimizedWriterValidateMode
class HiveSessionProperties:    public static OrcWriteValidationMode getOrcOptimizedWriterValidateMode(ConnectorSession session)
    {
        return session.getProperty(ORC_OPTIMIZED_WRITER_VALIDATE_MODE, OrcWriteValidationMode.class);
    }