parameters: (self, node)
return_statement: return p is node
docstring: Returns whether the object belongs to a subtree of the input node::
  
  			def build(bld):
  				node = bld.path.find_node('wscript')
  				node.is_child_of(bld.path) # True
  
  		:param node: path to use as a reference
  		:type node: :py:class:`waflib.Node.Node`
  		:rtype: bool
docstring_summary: Returns whether the object belongs to a subtree of the input node::
docstring_tokens: Returns whether the object belongs to a subtree of the input node ::
function: def is_child_of(self, node):
  		"""
  		Returns whether the object belongs to a subtree of the input node::
  
  			def build(bld):
  				node = bld.path.find_node('wscript')
  				node.is_child_of(bld.path) # True
  
  		:param node: path to use as a reference
  		:type node: :py:class:`waflib.Node.Node`
  		:rtype: bool
  		"""
  		p = self
  		diff = self.height() - node.height()
  		while diff > 0:
  			diff -= 1
  			p = p.parent
  		return p is node
function_tokens: def is_child_of ( self , node ) : p = self diff = self . height ( ) - node . height ( ) while diff > 0 : diff -= 1 p = p . parent return p is node