title: jquery datepicker displaying off a button click, is there a way to determine display state (show/hide)?
body: <p>I'd like to make the button into a toggle but I looked at the docs and couldn't find a isHidden isVisible type of property...</p>
  
  <p>.showCalendar is my button and #weekDate is my input field. Is there a way to get the display state of datepicker?</p>
  
  <pre><code> $('.showCalendar').click(function () {
      $('#weekDate').datepicker("show");
   });
  </code></pre>