code: public boolean isSupportedByServer()
              throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
          return ServiceDiscoveryManager.getInstanceFor(connection()).serverSupportsFeature(NAMESPACE);
      }
docs: Returns true if Bits of Binary is supported by the server.
  
  @return true if Bits of Binary is supported by the server.
  @throws NoResponseException
  @throws XMPPErrorException
  @throws NotConnectedException
  @throws InterruptedException