Implement a function to determine if a string has all unique characters.