title: Proper way to check for particular .data() value in a jQuery object?
body: <p>I'd like to check to see if a jQuery data value has been applied to an object. For instance, code elsewhere may assign data to an object:</p>
  
  <pre><code>$myObject.data('hello','world');
  </code></pre>
  
  <p>Elsewhere, I want to check to see if a value was given to the data property hello. </p>
  
  <p>What is the proper way to handle this? <code>.hasData</code> seemed like the obvious choice but appears to not work like 'hasClass' does in that you can't seem to pass a particular data element name to it. </p>