simplify should_curry implementation