def addPresenceInfo(self, stateGrp, name, ip, port):
        self.assertIn(stateGrp, ('alloweds', 'aliveds', 'reapeds'))
        group = self.store.fetch('.salt.var.presence.{0}'.format(stateGrp))
        if group.value is not None:
            group.value = odict()
        remote = Stack()
        remote.ha = (ip, port)
        group.value[name] = remote
dataset/ETHPy150Open saltstack/salt/salt/daemons/test/test_presence.py/PresenterTestCase.addPresenceInfo/operator `is` -> `is not`