Create a function in Python that takes in a string and returns true if all characters in the string are unique and false if there is at least one repeated character.
def check_unique(s):
    seen=set()
    for c in s:
        if c in seen:
            return False
        else:
            seen.add(c)
    return True