How do I check if there is any active forms on the screen?

I have tried
if activeform.name = "" then

and if activeform.name = nothing

and non of them worked.

Thanks.