Make and use internal isString helper.