def has(self, node):
        try:
            m = self._lookup(node)
            return True
        except KeyError, e:
            return False
Factory method should always match with filter
dataset/ETHPy150Open selfsk/nodeset.core/src/nodeset/core/heartbeat.py/NodeHeartBeat.has--crossover with--dataset/ETHPy150Open glue-viz/glue/glue/dialogs/data_wizard/qt/tests/test_data_wizard.py/TestGlueDataDialog.test_factory