I'd rewrite to eliminate the early return.