def IsUnique(s):
    """
    checks if the characters in the string are unique
    :param s: string to be compared
    :type s: str
    :return: true if the string has unique chars else false
    :rtype: bool
    """
    s = sorted(s)
    for i in range(len(s)):
        if i<len(s)-1 and s[i] == s[i+1]:
            return False
    return True