def is_conda_installed():
 with settings(hide('running', 'warnings', 'stderr', 'stdout'), warn_only=True):
  res = run('conda -V 2>/dev/null')
  if res.failed:
   return False
  return res.succeeded

def is_conda_installed ( ) : with settings ( hide ( 'running' , 'warnings' , 'stderr' , 'stdout' ) , warn_only = True ) : res = run ( 'conda -V 2>/dev/null' ) if res . failed : return False return res . succeeded
check if conda is installed .