Just wondering how to determine a jQuery statement like this
if( $(\"#test\").css(\'display\', \'block\') == true) { return true; }
Basicall
You can use isvisible and is hidden also
if ( $('#test').is(':visible')){