// Return if editor is opened in other group and we are OK with it
if(ignoreIfOpenedInOtherGroup){
constcontainedInOtherGroup=this.groupsAccessor.getGroups().some(groupView=>groupView!==this&&groupView.group.contains(editor,true/* support side by side */));