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