code: public ChatSetting getChatSetting(String key) throws XMPPException, SmackException, InterruptedException {
          ChatSettings chatSettings = getChatSettings(key, -1);
          return chatSettings.getFirstEntry();
      }
docs: Returns a single chat setting based on it's identified key.
  
  @param key the key to find.
  @return the ChatSetting if found, otherwise false.
  @throws XMPPException if an error occurs while getting information from the server.
  @throws SmackException
  @throws InterruptedException