public Map<String, String> toMap() {
    synchronized (this.confData) {
      Map<String, String> ret = new HashMap<>(this.confData.size());
      for (Map.Entry<String, Object> entry : confData.entrySet()) {
        ret.put(entry.getKey(), ConfigHelpers.convertToString(entry.getValue()));
      }
      return ret;
    }
  }
Checks whether there is an entry for the given config option.

@param configOption The configuration option
@return <tt>true</tt> if a valid (current or deprecated) key of the config option is stored,
    <tt>false</tt> otherwise
amoro-common/src/main/java/org/apache/amoro/config/Configurations.java