def __contains__(self, other):
        return other in self.children
Returns True is 'other' is a direct child of this instance.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/utils/tree.py/Node.__contains__