Don't use len() for string emptiness check