Use feature detection instead of version detection
Use feature detection instead of version detection

Python porting best practice [___use feature detection instead of version detection___](https://docs.python.org/3/howto/pyporting.html#use-feature-detection-instead-of-version-detection).
shenweichen/DeepCTR