def hasChild(self, childPath):

        if type(self.data) == type(dict()):
            nodes = childPath.split('/')
            child = self.data
            for node in nodes:
                if node:
                    if node == nodes[-1:]:
                        return node in child
                    else:
                        child = child[node]
        else:
            return False
Return True if child exists in data.
dataset/ETHPy150Open abehaskins/python-firebasin/firebasin/datasnapshot.py/DataSnapshot.hasChild