code: public boolean isValid() {
      if (lc_dev_proxy == null) {
        return false;
      }
      try {
        lc_dev_proxy.ping();
      }
      catch (DevFailed dv) {
        close();
        return false;
      }
      return true;
    }
docs: Returns true if the appender is (still) valid, false otherwise.