Yes, for sure, you have to pick the form from the page, open the layout view and pick the form also from here.
Move to the property view of the form and choose the 2nd tab of the properties (it's the one named 'Condition' ); from here you can set the Component Visibility Cond. that decides whether to hide or not the whole component from the page.
Regards,
Lucio