code: public boolean isFeatureSupported(DomainBareJid mucLightService)
              throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
          return ServiceDiscoveryManager.getInstanceFor(connection()).discoverInfo(mucLightService)
                  .containsFeature(MultiUserChatLight.NAMESPACE);
      }
docs: Returns true if Multi-User Chat Light feature is supported by the server.
  
  @param mucLightService
  @return true if Multi-User Chat Light feature is supported by the server.
  @throws NotConnectedException
  @throws XMPPErrorException
  @throws NoResponseException
  @throws InterruptedException