Get Boolean property value

@param propertyKey property key
@return Boolean property value
421096
private Boolean booleanProperty(PropertyKey propertyKey) {
        Boolean value = null;
        String property = properties.getProperty(propertyKey.getKey());
        if (property != null) {
            value = Boolean.valueOf(property);
        }
        return value;
    }
1021203
private static String getStringKey(String propertyKey) {
        if (WCCustomProperties.FullyQualifiedPropertiesMap.containsKey(propertyKey)) {
            return WCCustomProperties.FullyQualifiedPropertiesMap.get(propertyKey).toLowerCase();
        } else {
            return propertyKey;
        }
    }
76043
public boolean getBoolean(String key, boolean def) {
        try {
            if (!contains(key)) {
                return def;
            }
            return (Boolean) get(key);
        } catch (Exception e) {
            return def;
        }
    }
1266023
@Override
    public Boolean getBooleanOrDie(String key) {
        Boolean value = getBoolean(key);
        if (value == null) {
            throw new IllegalArgumentException(String.format(ERROR_KEYNOTFOUND, key));
        } else {
            return value;
        }
    }
709770
public Object getProperty(PropertyKey key)
    {
        //
        // Delegate up to any parent map
        //
        if (_delegateMap != null)
            return _delegateMap.getProperty(key);

        //
        // If neither found a value, return the default value
        //
        return key.getDefaultValue();
    }
722938
@SuppressWarnings("unused")
	private Boolean loadBooleanProperty(String propertyKey) {
		String booleanPropValue = prop.getProperty(propertyKey);
		if (booleanPropValue != null) {
			return Boolean.parseBoolean(booleanPropValue.trim());
		} else {
			return null;
		}
	}
391040
@Nullable
    public Boolean getBoolean(@Nonnull final String key) {
        return (Boolean) this.values.get(key);
    }
585069
public static boolean getBoolean( String key, boolean def ) {
        String b = getProperty( key );
        if( b != null ) {
            def = b.toLowerCase().equals( "true" );
        }
        return def;
    }
7671
public static Boolean getPropertyBoolean(Class<?> aClass, String key,
			boolean aBool)
	{
		return getSettings().getPropertyBoolean(aClass, key, aBool);
	}
1050767
public static boolean getBooleanValue(String primaryKey) {
        Object val = CFG.get(primaryKey);
        if (val == null) {
            throw new SofaRpcRuntimeException("Not found key: " + primaryKey);
        } else {
            return Boolean.valueOf(val.toString());
        }
    }
851750
public boolean isSet(PropertyKey key) {
    if (isSetByUser(key)) {
      return true;
    }
    // In case key is not the reference to the original key
    return PropertyKey.fromString(key.toString()).getDefaultValue() != null;
  }
927875
Optional<Boolean> getBoolean(String key) {
        Object value = get(key);

        if (value == null) {
            return Optional.empty();
        }

        if (value instanceof Boolean) {
            return Optional.of((Boolean) value);
        }
        else if (value instanceof String) {
            return Optional.of(Boolean.parseBoolean((String)value));
        }
        else {
            throw new InvalidOntopConfigurationException("A boolean was expected: " + value);
        }
    }
938162
public boolean getCustomBundleBooleanProperty(String bundleName, String key) {
		return Boolean.parseBoolean(props.getProperty(
				prefix + PropertiesBundleConstant.BUNDLE_FACTORY_CUSTOM_PROPERTY + bundleName + key, "false"));
	}
298325
public boolean getBoolean(String key, boolean defaultValue) {
    	String value = get(key);
    	if(value == null) return defaultValue;
   		return XType.getBoolean(value);
    }
1072739
public boolean getBooleanProperty(String key) {
    requireNonNull(key);
    String value = properties.get(key);
    return value != null && Boolean.parseBoolean(value);
  }
60923
public boolean getBooleanUseEval(String key) {
        Object object = eval(key);
        return Checker.isNull(object) ? null : (boolean) object;
    }
8008
public boolean getBoolean(String key, boolean def) {
        Object tmp = objectMap.get(key);
        return tmp != null && tmp instanceof Boolean ? (Boolean) tmp : def;
    }