activitypub: visibility: refactor is_public?() to use JSON-LD safe accessors