title: Check if directory mounted with bash
body: <p>I am using</p>
  
  <pre><code>mount -o bind /some/directory/here /foo/bar
  </code></pre>
  
  <p>I want to check <code>/foo/bar</code> though with a bash script, and see if its been mounted? If not, then call the above mount command, else do something else. How can I do this?</p>
  
  <p>CentOS is the operating system.</p>