if (
                len(self._states["include"]) > 0
                and state not in self._states["include"]