title: json.net handling tokens that don't exist
body: <p>What is the best way to detect if a token exists? I am using the crude way of simply catching the error if it happens but there must be a way to detect if it exists:</p>
  
  <pre><code>try { Response.Write(token["key"]); }
  catch { }
  </code></pre>
  
  <p>I have tried something like this:  </p>
  
  <pre><code>if (token["disambiguated"].FirstOrDefault().HasValues)
  </code></pre>
  
  <p>but that does not seem to work.</p>
  
  <p>Thanks,
  Steve.</p>