Try
$("some-selector").is(':hidden');
or
$("some-selector").is(':visible');
Here are the docs for the :visible and the :hidden selectors.
Try
$("some-selector").is(':hidden');
or
$("some-selector").is(':visible');
Here are the docs for the :visible and the :hidden selectors.