Perfer !string.empty() over string != "".