presto-main/src/main/java/io/prestosql/SystemSessionProperties.java/SystemSessionProperties/getOptimizerTimeout
class SystemSessionProperties:    public static Duration getOptimizerTimeout(Session session)
    {
        return session.getSystemProperty(ITERATIVE_OPTIMIZER_TIMEOUT, Duration.class);
    }