title: jquery is(:visible) for visibility : hidden
body: <p>In jQuery:</p>
  
  <pre><code>e.is(':visible');
  </code></pre>
  
  <p>checks if an element is displayed or not.</p>
  
  <p><b>Is there an function in jQuery to check if an element has the attribute visibility to hidden or visible? </b></p>
  
  <p>Now I have to make that function myself. But i want to use the jQuery function instead if it exists.</p>
  
  <p>The function I made: </p>
  
  <pre><code>$.fn.isVisible = function() {
      return ($(this).css('opacity') != '0' &amp;&amp; $(this).css('visibility') !== 'hidden');
  };
  </code></pre>
  
  <p>To extend my example: 
  <a href="https://jsfiddle.net/e6k518gu/4/" rel="noreferrer">JsFiddle</a></p>
  
  <p><b>The real question is: Is there a jQuery function or not?</b></p>