public function has($id)
    {
        $id = $this->resolveId($id);

        return isset($this->items[$id]);
    }
public function has($id)
    {
        $id = $this->resolveId($id);

        return isset($this->items[$id]);
    }
public function has ( $ id ) { $ id = $ this -> resolveId ( $ id ) ; return isset ( $ this -> items [ $ id ] ) ; }
Checks if the layout item with the given id exists

@param string $id The id or alias of the layout item

@return bool
Checks if the layout item with the given id exists