def setparam(self, key, value):
        if key in self._params:
            if self._params[key] == value:
                return False
            elif self._params[key] <= 0 and value <= 0:
                # treat None and 0 as unchanged values
                return False
        self._params[key] = value
        return True
Test if synchronization can be performed via admin interface.
dataset/ETHPy150Open coreemu/core/daemon/core/coreobj.py/PyCoreNetIf.setparam--crossover with--dataset/ETHPy150Open zlorf/django-synchro/synchro/tests.py/SimpleSynchroTests.test_admin