return Boolean.parseBoolean(props.get(key).toString());
return "true".equalsIgnoreCase(props.get(key).toString());
    protected static boolean getBooleanProp(HashMap props, String key, boolean defaultVal) {        if (props == null || props.get(key) == null)            return defaultVal;        else            return Boolean.parseBoolean(props.get(key).toString());    }