`is_valid_conversion` or some such might be a better name. That said, I like the original better is it makes clear the combination of a -1 return value and `PyErr_Occurred`. Might be better to have a function that combined the conversion with the error detection so the two can't become separated. Maybe `NpyInt_AsAxis(tmp, &axis)` or some such.