public function isInClassScope() : bool { return $this->hasParentScope() ? $this->getParentScope()->isInClassScope() : false; }