def getState(self):
    for plugin in self:
        self._stateData[plugin.getName()] = plugin.getState()
    return self._stateData
def getState(self):
    for plugin in self:
        self._stateData[plugin.getName()] = plugin.getState()
    return self._stateData