private function hasGenericType() : bool { return false !== $this->type_set->find(function (Type $type) : bool { return $type->hasTemplateParameterTypes(); }); }