isVisible()
checks whether a ToggleGroup control or a specific element inside the control is visible
isVisible(id?: string): boolean;
Parameters:
id: string- optional, the id of a specific element inside the ToggleGroup control
Returns:
true, if a control or a specific element is visible; otherwise, false
Example
form.getItem("ToggleGroup").isVisible("toggle_1"); // -> true/false