don't use String#isEmpty for Android support