Test condition and return (reduce indenting)