give a better check for python support