check if a string has all unique char