public function getAttribute($name) { return isset($this->attributes[$name]) ? $this->attributes[$name] : false; }