Compare directly against empty string rather than executing len().