original_string: public function has($id)
      {
          $id = $this->resolveId($id);
  
          return isset($this->items[$id]);
      }
code: public function has($id)
      {
          $id = $this->resolveId($id);
  
          return isset($this->items[$id]);
      }
code_tokens: public function has ( $ id ) { $ id = $ this -> resolveId ( $ id ) ; return isset ( $ this -> items [ $ id ] ) ; }
docstring: Checks if the layout item with the given id exists
  
  @param string $id The id or alias of the layout item
  
  @return bool
docstring_tokens: Checks if the layout item with the given id exists