code: public boolean isValid() {
          if (isEmpty(host)) {
              LOG.error("host is undefined");
          } else if (baseDn == null || baseDn.isEmpty() || hasEmptyElements(baseDn)) {
              LOG.error("baseDn is undefined");
          } else if (isEmpty(rdnIdentifier)) {
              LOG.error("rdnIdentifier is undefined");
          } else {
              return true;
          }
          return false;
      }
docs: Validate LdapProperties
  @return true if properties are valid, false otherwise