public function hasClassConstantWithName(string $name) : bool { return !empty($this->class_constant_map[$name]); }