jquery if is visible

JavaScript
.is(':visible')
//Selects all elements that are visible.

if($('#yourDiv').is(':visible')){
	//do stuff in here
}
//or
$('#yourDiv:visible').callYourFunction();// Checks css for display:[none|block], ignores visibility:[true|false]
$(element).is(":hidden"); 
$('.eipC:visible').length 

//or

$('.eipC').is(':visible').length

Source

Also in JavaScript: