This is how you can determine if an element is visible.
<div id="target" style="display:none"></div>
if( $('#target').is(':visible') ) {
// this element is visible
}
// Check if its hidden
if( $('#target').is(':hidden') ) {
// this element is hidden
}