added method for getting boolean property with default