def forEach(self, callback):

        for key in self.data.keys():
            response = callback(self.data[key])
            if response:
                return True
        return False
Tests that the logic behind the agent version specific endpoints is ok.
dataset/ETHPy150Open abehaskins/python-firebasin/firebasin/datasnapshot.py/DataSnapshot.forEach--crossover with--dataset/ETHPy150Open serverdensity/sd-agent/tests/core/test_transaction.py/TestTransaction.testEndpoints