public function hasConstantWithName(CodeBase $code_base, string $name) : bool { return $code_base->hasClassConstantWithFQSEN(FullyQualifiedClassConstantName::make($this->getFQSEN(), $name)); }