Any reason not to just return early instead of managing this variable?