Actions Group - Check If Open

If an actions group is opened programatically, suchas:

var self = this;
var app = self.$f7;
app.actions.open('#actionsGroup1');

How can I check programatically that it has been opened? To ensure a code loop doesn’t open it twice.

Thanks.

https://framework7.io/docs/action-sheet.html#action-sheet-methods-properties
actions.opened