Get self config boolean value

@param key config key with configAbsoluteClassPath in config file
@return true/false. If not add config file or not config in config file, return false.
@see #addSelfConfigs(String, OneProperties)
963948
public static boolean isHavePathSelfConfig(IConfigKeyWithPath key) {
        String configAbsoluteClassPath = key.getConfigPath();
        return isSelfConfig(configAbsoluteClassPath, key);
    }
1092161
@PublicEvolving
	public boolean contains(ConfigOption<?> configOption) {
		synchronized (this.confData){
			// first try the current key
			if (this.confData.containsKey(configOption.key())) {
				return true;
			}
			else if (configOption.hasFallbackKeys()) {
				// try the fallback keys
				for (FallbackKey fallbackKey : configOption.fallbackKeys()) {
					if (this.confData.containsKey(fallbackKey.getKey())) {
						loggingFallback(fallbackKey, configOption);
						return true;
					}
				}
			}

			return false;
		}
	}
1041451
function(key){
            this._configs = this._configs || {};
            var config = this._configs[key];
            
            if (!config || !this._configs.hasOwnProperty(key)) {
                return null;
            }
            
            return config.getValue();
        }
1203030
@Override
	public boolean containsKey(final Object key) {
		return propsMap.containsKey(key) ? true : defaults != null && defaults.containsKey(key);
	}
949427
@PublicEvolving
	public void setBoolean(ConfigOption<Boolean> key, boolean value) {
		setValueInternal(key.key(), value);
	}
1274721
@Override
	public Boolean getPropertyBoolean(String key)
	{
		Boolean bVal = null;
		String sVal = getProperty(key);
		if ((sVal != null) && (sVal.length() > 0))
		{
			bVal = Boolean.valueOf(sVal);
		}
		return bVal;
	}
1301060
public ConfigurationItem getConfigurationItem(final String key) {
    if(key==null || key.trim().isEmpty()) throw new IllegalArgumentException("The passed key was null or empty");
    return getConfigurationItemByKey(configItemsByKey, key);
  }
541855
public boolean containsValues(
      java.lang.String key) {
    if (key == null) { throw new java.lang.NullPointerException(); }
    return internalGetValues().getMap().containsKey(key);
  }
862874
final protected function getConfigValue(string $key)
    {
        $retval = false;

        if (isset($this->config[$key], $this->config[$key][ConfigurationInterface::KEY_VALUE])) {
            $retval = $this->config[$key][ConfigurationInterface::KEY_VALUE];
        } elseif (isset($this->config[$key])) {
            $retval = $this->config[$key];
        }

        return $retval;
    }
830417
public Boolean getAsBoolean(String key) {
        Object value = mValues.get(key);
        try {
            return (Boolean) value;
        } catch (ClassCastException e) {
            if (value instanceof CharSequence) {
                return Boolean.valueOf(value.toString());
            } else if (value instanceof Number) {
                return ((Number) value).intValue() != 0;
            } else {
                logger.log(Level.SEVERE, "Cannot cast value for " + key + " to a Boolean: " + value, e);
                return false;
            }
        }
    }
686770
public static boolean getBoolean(Properties config, String key, boolean defaultValue) {
		String val = config.getProperty(key);
		if (val == null) {
			return defaultValue;
		} else {
			return Boolean.parseBoolean(val);
		}
	}
607450
private Boolean getBooleanParameter(String key){
        Integer i = (Integer)parameters.get(key);
        if (i == null){
            return null;
        }
        return i.equals(1);
    }
157264
public String getProperty(
                    final String key
                    )
    {
        String  value = System.getProperty( key );
        if (value != null) {
            return value;
        }

        value = _getConfigProperties().getProperty( key );

        return value;
    }
185801
@Override
  public String get(String key) {
    Object value = conf.get(key);
    if(null != value) {
      return value.toString();
    }
    else {
      return null;
    }
  }
239798
final protected function getBooleanValue(string $key, bool $default = false): bool
    {
        $value = $this->getConfigValue($key);
        if (!$value) {
            return $default;
        }

        return \boolval($value);
    }
284309
public boolean getBoolean(String key) {
    if (containsKey(key)) {
      return "true".equalsIgnoreCase(get(key));
    } else {
      throw new IllegalArgumentException("Missing key " + key + ".");
    }
  }
1246203
@Override
  public Map<ConfigKeyPath, Config> getOwnConfigs(Collection<ConfigKeyPath> configKeys) {
    Collection<ConfigKeyPath> configKeysNotInCache = new ArrayList<>();
    Map<ConfigKeyPath, Config> result = new HashMap<>();
    for(ConfigKeyPath configKey: configKeys){
      Config cachedValue = this.ownConfigCache.getIfPresent(configKey);
      if(cachedValue==null){
        configKeysNotInCache.add(configKey);
      }
      else{
        result.put(configKey, cachedValue);
      }
    }

    // for ConfigKeyPath which are not in cache
    if(configKeysNotInCache.size()>0){
      Map<ConfigKeyPath, Config> configsFromFallBack = this.valueFallback.getOwnConfigs(configKeysNotInCache);
      this.ownConfigCache.putAll(configsFromFallBack);
      result.putAll(configsFromFallBack);
    }

    return result;
  }