Different way to check for empty string ?