def is_current_group(self):
        item = self.filterTreeWidget.currentItem()
        return item.data(1, Qt.UserRole) == self.FilterTreeRoleGroup
Return if the currently selected item is a filter group.
dataset/ETHPy150Open rproepp/spykeviewer/spykeviewer/ui/filter_dock.py/FilterDock.is_current_group