FooterTemplate visible false conditional

Dears,
I cannot make visible false to footer according to a condition, how can I make FooterTemplate visible false according to a condition

You cannot declare conditionally the template however you can declare conditionally the content of the template.

yes, but the style visible