def using_systemd():
 return run('which systemctl', quiet=True).succeeded

def using_systemd ( ) : return run ( 'which systemctl' , quiet = True ) . succeeded
return true if using systemd example:: from fabtools .