code: public boolean isSupported(Jid jid) throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
          return ServiceDiscoveryManager.getInstanceFor(connection()).supportsFeature(jid, NAMESPACE);
      }
docs: Returns true if the given entity understands the vCard-XML format and allows the exchange of such.
  
  @param jid
  @return true if the given entity understands the vCard-XML format and exchange.
  @throws XMPPErrorException
  @throws NoResponseException
  @throws NotConnectedException
  @throws InterruptedException