jquery check is hidden or not code example
Example: CHECK IF element is hidden jquery
// Checks CSS content for display:[none|block], ignores visibility:[true|false]
$(element).is(":visible");
// The same works with hidden
$(element).is(":hidden");