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