presto-main/src/main/java/io/prestosql/SystemSessionProperties.java/SystemSessionProperties/isSpillEnabled
class SystemSessionProperties:    public static boolean isSpillEnabled(Session session)
    {
        return session.getSystemProperty(SPILL_ENABLED, Boolean.class);
    }