o check for the existence of a remote node before attempting to communicate with it. Here we send a ping message to the remote node to see if it is alive and accepting connections. Paste the following function in your REPL:</p>
<pre><code class="clojure">(defn print-liveliness [node other]
  (if (nodes/ping node other 1000)
    (println "It's aliiiive!")
    (println "Mate, this node wouldn't go 'voom' if ...")))
</code></pre>
<p>Now let’s use it:</p>
<pre><code class="clojure">user=&gt; (print-liveliness