def is_setuptools_installed(python_cmd='python'):
 version = package_version('setuptools', python_cmd=python_cmd)
 return (version is not None)

def is_setuptools_installed ( python_cmd = 'python' ) : version = package_version ( 'setuptools' , python_cmd = python_cmd ) return ( version is not None )
check if setuptools_ is installed .