code: public boolean ping(Jid jid) throws NotConnectedException, NoResponseException, InterruptedException {
          return ping(jid, connection().getReplyTimeout());
      }
docs: Same as calling {@link #ping(Jid, long)} with the defaultpacket reply
  timeout.
  
  @param jid The id of the entity the ping is being sent to
  @return true if a reply was received from the entity, false otherwise.
  @throws NotConnectedException
  @throws NoResponseException if there was no response from the jid.
  @throws InterruptedException