SSP-1484 changed isEmpty to properly reflect empty string