public function hasLayout($value = null) { if (null !== $value) { $this->hasLayout = $value; } return $this->hasLayout; }