presto-hive/src/main/java/io/prestosql/plugin/hive/HiveSessionProperties.java/HiveSessionProperties/isTemporaryStagingDirectoryEnabled
class HiveSessionProperties:    public static boolean isTemporaryStagingDirectoryEnabled(ConnectorSession session)
    {
        return session.getProperty(TEMPORARY_STAGING_DIRECTORY_ENABLED, Boolean.class);
    }