How to suppress sheet metal flanges/features using ilogic in Inventor

Hi, Answering this question. Hoping that it will be useful for someone, who really wants to suppress and un-suppress feature by using ilogic.
-
Step 1:
To suppress Features using ilogic
Use Ilogic formula:
Feature.IsActive("featurename")
which requires boolean input " True/False"Example: Feature.IsActive("featurename") = True
Note: Attached a sample file. Open the Rule Browser and Run the "Rule0"