public function hasGenericArray() : bool { if ($this->isEmpty()) { return false; } return false !== $this->type_set->find(function (Type $type) : bool { return $type->isGenericArray(); }); }