implemented isEmptyString