original_string: public function hasChildren()
      {
          $property = $this->_propertyExtractor($this->_nestKey);
          $children = $property($this->current());
  
          if (is_array($children)) {
              return !empty($children);
          }
  
          return $children instanceof Traversable;
      }
code: public function hasChildren()
      {
          $property = $this->_propertyExtractor($this->_nestKey);
          $children = $property($this->current());
  
          if (is_array($children)) {
              return !empty($children);
          }
  
          return $children instanceof Traversable;
      }
code_tokens: public function hasChildren ( ) { $ property = $ this -> _propertyExtractor ( $ this -> _nestKey ) ; $ children = $ property ( $ this -> current ( ) ) ; if ( is_array ( $ children ) ) { return ! empty ( $ children ) ; } return $ children instanceof Traversable ; }
docstring: Returns true if there is an array or a traversable object stored under the
  configured nestKey for the current item
  
  @return bool
docstring_tokens: Returns true if there is an array or a traversable object stored under the configured nestKey for the current item