docs: private void checkTopicSubscribePermission(String topic) {
          SecurityManager sm = System.getSecurityManager();
          if (sm == null)
              return;
  
          sm.checkPermission(new TopicPermission(topic, SUBSCRIBE));
      }