Return True if Python was not built with -O0 or -Og.
test.support/python_is_optimized
python_is_optimized