code: public boolean accountSupportsFeatures(Collection<? extends CharSequence> features)
                      throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
          EntityBareJid accountJid = connection().getUser().asEntityBareJid();
          return supportsFeatures(accountJid, features);
      }
docs: Check if the given collection of features are supported by the connection account. This means that the discovery
  information lookup will be performed on the bare JID of the connection managed by this ServiceDiscoveryManager.
  
  @param features a collection of features
  @return <code>true</code> if all features are supported by the connection account, <code>false</code> otherwise
  @throws NoResponseException
  @throws XMPPErrorException
  @throws NotConnectedException
  @throws InterruptedException
  @since 4.2.2