Returns whether this member is protected.
public function isProtected(object|string $objectOrClassName) : bool { return $this->getReflectionMember($objectOrClassName) ->isProtected(); }