original_string: public function has_children() {
          return ($this->nodetype === navigation_node::NODETYPE_BRANCH || $this->children->count()>0 || $this->isexpandable);
      }
code: public function has_children() {
          return ($this->nodetype === navigation_node::NODETYPE_BRANCH || $this->children->count()>0 || $this->isexpandable);
      }
code_tokens: public function has_children ( ) { return ( $ this -> nodetype === navigation_node :: NODETYPE_BRANCH || $ this -> children -> count ( ) > 0 || $ this -> isexpandable ) ; }
docstring: Checks if this node has or could have any children
  
  @return bool Returns true if it has children or could have (by AJAX expansion)
docstring_tokens: Checks if this node has or could have any children