title: Determine if a number falls within a specified set of ranges
body: <p>I'm looking for a fluent way of determining if a number falls within a specified set of ranges. My current code looks something like this:</p>
  
  <pre><code>int x = 500; // Could be any number
  
  if ( ( x &gt; 4199 &amp;&amp; x &lt; 6800 ) ||
       ( x &gt; 6999 &amp;&amp; x &lt; 8200 ) ||
       ( x &gt; 9999 &amp;&amp; x &lt; 10100 ) ||
       ( x &gt; 10999 &amp;&amp; x &lt; 11100 ) ||
       ( x &gt; 11999 &amp;&amp; x &lt; 12100 ) )
  {
      // More awesome code
  }
  </code></pre>
  
  <p>Is there a better way of doing this?</p>