Whether the method is explicitly or implicitly public.
public function isPublic() : bool { return ($this->flags & Modifiers::PUBLIC) !== 0 || ($this->flags & Modifiers::VISIBILITY_MASK) === 0; }