title: MongoDB Node check if objectid is valid
body: <p>How can I check whether an ObjectID is valid using Node's driver</p>
  
  <p>I tried :</p>
  
  <pre><code>var BSON = mongo.BSONPure;
  console.log("Validity: "  + BSON.ObjectID.isValid('ddsd'))
  </code></pre>
  
  <p>But I keep getting an exception instead of a true or false. (The exception is just a 'throw e; // process.nextTick error, or 'error' event on first tick'</p>