if (properties == null) { loadConfig(null); }  String stringValue = properties.getProperty(property); boolean boolValue = false;  if (stringValue != null) { if (stringValue.equalsIgnoreCase("true")) { boolValue = true; } else if (stringValue.equalsIgnoreCase("yes")) { boolValue = true; } }  return boolValue;
return getBooleanProperty(property, false);
    public static boolean getBooleanProperty(String property)    {        if (properties == null)        {            loadConfig(null);        }        String stringValue = properties.getProperty(property);        boolean boolValue = false;        if (stringValue != null)        {            if (stringValue.equalsIgnoreCase("true"))            {                boolValue = true;            }            else if (stringValue.equalsIgnoreCase("yes"))            {                boolValue = true;            }        }        return boolValue;    }