How do I check that a docker host is in swarm mode? : <p>After executing this;</p>

<pre><code>eval $(docker-machine env mymachine)
</code></pre>

<p>How do I check if the docker daemon on <code>mymachine</code> is a swarm manager?</p>
