code: public boolean isSupported(Jid jid) throws SmackException, XMPPException, InterruptedException {
          return ServiceDiscoveryManager.getInstanceFor(connection()).supportsFeature(jid,
                          DeliveryReceipt.NAMESPACE);
      }
docs: Returns true if Delivery Receipts are supported by a given JID.
  
  @param jid
  @return true if supported
  @throws SmackException if there was no response from the server.
  @throws XMPPException
  @throws InterruptedException