Check if grasshopper panel is empty

Hi all,
how can i check if a panel in grasshopper is empty with c#.
“condition” is the name of the input.
if(condition=Null) is not working

help is welcome

found the answer.