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