public function hasSlot($key)
    {
        return isset($this->_slots[$key]) || ($this->_parentContext && $this->_parentContext->hasSlot($key));
    }
public function hasSlot($key)
    {
        return isset($this->_slots[$key]) || ($this->_parentContext && $this->_parentContext->hasSlot($key));
    }
public function hasSlot ( $ key ) { return isset ( $ this -> _slots [ $ key ] ) || ( $ this -> _parentContext && $ this -> _parentContext -> hasSlot ( $ key ) ) ; }
Returns true if specified slot is filled.

@return bool
Returns true if specified slot is filled .