/** * @param string $attr * @return bool */ public function has($attr) { return parent::has($attr) || $this->_type && $this->_type->get($attr); }