def hasChildren(self):

        return type(self.data) == type(dict()) and len(self.data.keys())
Function computes and returns the magnitude of a vector
dataset/ETHPy150Open abehaskins/python-firebasin/firebasin/datasnapshot.py/DataSnapshot.hasChildren--crossover with--dataset/ETHPy150Open enthought/mayavi/tvtk/tools/visual.py/MVector.mag