title: jQuery - How to check if autocomplete is bound
body: <p>Sometimes I need to know if an input field already has autocomplete bound to it. I haven't found any other way to do this other than:</p>
  
  <pre><code>$input.hasClass('ui-autocomplete-input')
  </code></pre>
  
  <p>Then I discovered that elements with autocomplete has an attribute like this:</p>
  
  <pre><code>&lt;input autocomplete="off"&gt;
  </code></pre>
  
  <p>This however never seems to be set to on, and I can't find any documentation about this attribute.</p>
  
  <p>Question: What is the best/correct way to check if autocomplete has been bound to an element?</p>