Would this be better as ```!PyErr_Occurred()```?