Speed: check if string is empty