title: Jquery to check if an input has a specific name?
body: <p>Is there any function to check if an input has a specific name in jquery, like we check the existense of a class using <code>hasClass()</code>?</p>
  
  <p>For example if I have an input</p>
  
  <p><code>&lt;input type="checkbox" class="col_control" checked="checked" name="sr_column" data-columnno="0" /&gt;</code></p>
  
  <p>so that I can check <code>hasName("sr_column")</code> and it returns true</p>