Condition if "text is show" then

Hi @deleteduser

if I write how much you suggest me it marks an error on the first line because it says that “hidden is a member but used as a function.
if (!$w(”#Error1").hidden()) { // this is wrong

Other suggestions?