Wrote helper method to handle default values with boolean params