code: public boolean accountSupportsFeatures(CharSequence... features)
                      throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
          return accountSupportsFeatures(Arrays.asList(features));
      }
docs: Check if the given 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 the features to check
  @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