code: public String getEffectiveListName() throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
          String activeListName = getActiveListName();
          if (activeListName != null) {
              return activeListName;
          }
          return getDefaultListName();
      }
docs: Returns the name of the effective privacy list.
  <p>
  The effective privacy list is the one that is currently enforced on the connection. It's either the active
  privacy list, or, if the active privacy list is not set, the default privacy list.
  </p>
  
  @return the name of the effective privacy list or null if there is none set.
  @throws NoResponseException
  @throws XMPPErrorException
  @throws NotConnectedException
  @throws InterruptedException
  @since 4.1