public function isProtected() : bool { return Flags::bitVectorHasState($this->getFlags(), \ast\flags\MODIFIER_PROTECTED); }