def __contains__(self, other):
        return other in self.children
Returns True is 'other' is a direct child of this instance.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/utils/tree.py/Node.__contains__