An early exit would probably be better than indenting the entire rest of the function body.