original_string: public function anAncestorIsMissing($item)
      {
          $parentColumn = $this->parentColumn;
          if (!$item->$parentColumn) {
              return false;
          }
          if (!$this->has($item->$parentColumn)) {
              return true;
          }
          $parent = $this[$item->$parentColumn];
  
          return $this->anAncestorIsMissing($parent);
      }
code: public function anAncestorIsMissing($item)
      {
          $parentColumn = $this->parentColumn;
          if (!$item->$parentColumn) {
              return false;
          }
          if (!$this->has($item->$parentColumn)) {
              return true;
          }
          $parent = $this[$item->$parentColumn];
  
          return $this->anAncestorIsMissing($parent);
      }
code_tokens: public function anAncestorIsMissing ( $ item ) { $ parentColumn = $ this -> parentColumn ; if ( ! $ item -> $ parentColumn ) { return false ; } if ( ! $ this -> has ( $ item -> $ parentColumn ) ) { return true ; } $ parent = $ this [ $ item -> $ parentColumn ] ; return $ this -> anAncestorIsMissing ( $ parent ) ; }
docstring: Check if an ancestor is missing.
  
  @param $item
  
  @return bool
docstring_tokens: Check if an ancestor is missing .