Is there a way to test if a certain element (.container) is hidden, in a whole document? Such as (which doesn't work properly):
$(".showall").click(
function () {
if ($(".container").is("hidden"))
{perform a task}
else
{return false;}
});