How to create a Condition based on the state of a Collapse Section (accordion) element?