original_string: public function getHasChildren( $type = null )
  	{
  		if ( is_null( $this->domNode ) ) return false;
  		$hasAnyChildren = $this->domNode->hasChildNodes();
  		if ( ! $hasAnyChildren || is_null( $type ) ) return $hasAnyChildren;
  
  		$clone = $this->CloneInstance();
  		return $clone->MoveToChild( $type );
  	}
code: public function getHasChildren( $type = null )
  	{
  		if ( is_null( $this->domNode ) ) return false;
  		$hasAnyChildren = $this->domNode->hasChildNodes();
  		if ( ! $hasAnyChildren || is_null( $type ) ) return $hasAnyChildren;
  
  		$clone = $this->CloneInstance();
  		return $clone->MoveToChild( $type );
  	}
code_tokens: public function getHasChildren ( $ type = null ) { if ( is_null ( $ this -> domNode ) ) return false ; $ hasAnyChildren = $ this -> domNode -> hasChildNodes ( ) ; if ( ! $ hasAnyChildren || is_null ( $ type ) ) return $ hasAnyChildren ; $ clone = $ this -> CloneInstance ( ) ; return $ clone -> MoveToChild ( $ type ) ; }
docstring: Not used but implement
  Gets a value indicating whether the current node has any child nodes.
  
  @param XPathNodeType $type
  @return bool $HasChildren true if the current node has any child nodes; otherwise, false.
docstring_tokens: Not used but implement Gets a value indicating whether the current node has any child nodes .