if len(self._states["exclude"]) > 0 and state in self._states["exclude"]: