Yeah, I just did it this way originally because importing sys into every namespace that needed this comparison seemed silly and is a (very very) slight drag on memory management/performance. 

I should note that for me the if statement even when you force sys to be reimported is 30% faster than the try version though that doesn't mean you don't eat up more memory doing it this way on a large scale.