Switched to is_py3 for version check