public boolean contains(ConfigOption<?> configOption) {
    synchronized (this.confData) {
      // first try the current key
      return this.confData.containsKey(configOption.key());
    }
  }
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